Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Procedural File: usersettings.php

Source Location: /public_html/usersettings.php



Page Details:



Includes:

require_once($_CONF['path_system'].'classes/oauthhelper.class.php') [line 1437]
require_once($_CONF['path_system'].'lib-user.php') [line 36]
require_once('lib-common.php') [line 35]






confirmAccountDelete [line 306]

string confirmAccountDelete( string $form_reqid)

Ask user for confirmation to delete his/her account.



Tags:

return:  confirmation form


Parameters

string   $form_reqid   form_reqid request id
[ Top ]



deleteUserAccount [line 356]

string deleteUserAccount( string $form_reqid)

Delete an account



Tags:

return:  redirection to main page (+ success msg)


Parameters

string   $form_reqid   form_reqid request id
[ Top ]



editpreferences [line 377]

void editpreferences( )

Displays user preferences



[ Top ]



emailAddressExists [line 748]

boolean emailAddressExists( email $email, uid $uid)

Check if an email address already exists in the database

NOTE: Allows remote accounts to have duplicate email addresses




Tags:

return:  true = exists, false = does not exist


Parameters

email   $email   string email address to check
uid   $uid   int user id of current user
[ Top ]



handlePhotoUpload [line 775]

string handlePhotoUpload( [string $delete_photo = ''])

Upload new photo, delete old photo



Tags:

return:  filename of new photo (empty = no new photo)


Parameters

string   $delete_photo   'on': delete old photo
[ Top ]



savepreferences [line 1191]

void savepreferences( array $A)

Saves user's preferences back to the database



Parameters

array   $A   User's data to save
[ Top ]



saveuser [line 897]

string saveuser( array $A)

Saves the user's information back to the database



Tags:

return:  HTML error message or meta redirect


Parameters

array   $A   User's data
[ Top ]



Documentation generated on Thu, 24 May 2012 02:09:28 -0400 by phpDocumentor 1.4.3