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 1468]
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   request id
[ Top ]



deleteUserAccount [line 347]

string deleteUserAccount( string $form_reqid)

Delete an account



Tags:

return:  redirection to main page (+ success msg)


Parameters

string   $form_reqid   request id
[ Top ]



editpreferences [line 370]

string editpreferences( )

Displays user preferences



[ Top ]



emailAddressExists [line 772]

boolean emailAddressExists( string $email, int $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

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



handlePhotoUpload [line 798]

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 1185]

void savepreferences( array $A)

Saves user's preferences back to the database



Parameters

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



saveuser [line 912]

string saveuser( $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 Sun, 02 Oct 2016 07:56:42 +0000 by phpDocumentor 1.4.3