Public Member Functions | |
| GenieGate_UserAccount (&$dbh) | |
| Constructor. | |
| addListener (&$listener) | |
| Add a listener. | |
| createUserAccount (&$fields, &$mview) | |
| Creates user account. | |
| createConfirmedUserAccount (&$fields) | |
| Like createUserAccount except that it will confirm it automatically. | |
| updateUserAccount ($uid, &$fields) | |
| Update the user info. | |
| getUserStats () | |
| Obtain statistics from the database. | |
| scanUsers ($keyword) | |
| Does a general scan of useful fields in users. | |
| searchUsers ($email, $name, $from, $to) | |
| Search users. | |
| removeUser ($uid, $password="", $confirm=TRUE) | |
| This function removes the user. | |
| confirmUserAccount ($uid, $conf_no) | |
| Update the users account. | |
| expungeNonConfirmed ($all=FALSE) | |
| Remove all members who have not confirmed their email address. | |
| fireSetupUserAccount (&$fields, $conf_id) | |
| fire the setupUser() method on all the listeners. | |
| fireRemoveUser ($uid, &$fields) | |
| Fire off the remove user. | |
| firePreConfirmUserAccount (&$fields, $conf_id, &$errors) | |
| fire the preConfirm() method on all listeners. | |
| fireCheckUserAccount (&$fields, &$errors) | |
| Fire the preCheck() method on all the listeners. | |
| checkNewUserFields (&$fields, $is_new=TRUE) | |
| Checks $fields for any errors. | |
| lookupUid ($uid) | |
| Look up the given user ID. | |
| lookupEmail ($email) | |
| Checks to see if the given email address exists, returns fields. | |
Public Attributes | |
| $DBH | |
| mysql database link. | |
Definition at line 6 of file UserAccount.php.
|
|
Constructor.
Definition at line 20 of file UserAccount.php. |
|
|
Add a listener. This (and the other listeners) are used for the plugins.
Definition at line 30 of file UserAccount.php. |
|
||||||||||||
|
Checks $fields for any errors.
Definition at line 320 of file UserAccount.php. References lookupEmail(), and lookupUid(). Referenced by createConfirmedUserAccount(), and createUserAccount(). |
|
||||||||||||
|
Update the users account. This sets the flag that states the email address has been confirmed.
Definition at line 231 of file UserAccount.php. References firePreConfirmUserAccount(), fireSetupUserAccount(), and lookupUid(). |
|
|
Like createUserAccount except that it will confirm it automatically. (Since there are problems with passing FALSE by reference in createUserAccount())
Definition at line 81 of file UserAccount.php. References checkNewUserFields(), fireCheckUserAccount(), and fireSetupUserAccount(). |
|
||||||||||||
|
Creates user account.
Definition at line 42 of file UserAccount.php. References checkNewUserFields(), fireCheckUserAccount(), and fireSetupUserAccount(). |
|
|
Remove all members who have not confirmed their email address. New signups that have not confirmed their email address are removed (except for members who are signing up today) Optional $all parameter says to expunge ALL non-cirmed accounts, (including people who are in the process of signing up)
Definition at line 266 of file UserAccount.php. |
|
|
Obtain statistics from the database. Keys are: signup_newest, signup_oldest, total_users, registered_users
Definition at line 128 of file UserAccount.php. |
|
|
Checks to see if the given email address exists, returns fields.
Definition at line 376 of file UserAccount.php. Referenced by checkNewUserFields(). |
|
|
Look up the given user ID.
Definition at line 356 of file UserAccount.php. Referenced by checkNewUserFields(), confirmUserAccount(), removeUser(), and updateUserAccount(). |
|
||||||||||||||||
|
This function removes the user.
Definition at line 207 of file UserAccount.php. References fireRemoveUser(), and lookupUid(). |
|
|
Does a general scan of useful fields in users.
Definition at line 151 of file UserAccount.php. |
|
||||||||||||||||||||
|
Search users. This is similiar to scanUsers() except the start/end dates are allowed, and it does a search on the individual email, name fields.
Definition at line 179 of file UserAccount.php. |
|
||||||||||||
|
Update the user info.
Definition at line 107 of file UserAccount.php. References lookupUid(). |
Documentation generated by DoxyGen