Public Member Functions | |
| GenieGate_Api_User ($l, $info) | |
| This is not meant to be constructed from outside the GenieGate_Api_Login class. | |
| getProperties ($section="genie.form.Public") | |
| Get users properties. | |
| checkPassword ($password) | |
| Checks the users password against the supplied one. | |
| checkSessionKey ($key) | |
| Check to see if the session key matches. | |
| isActivated () | |
| Check to see if the account has been confirmed. | |
| getName () | |
| Get the users name. | |
| getUserId () | |
| Get the user ID. | |
| getEmail () | |
| Get the email address. | |
| getGroups () | |
| Get an array of all groups this user is a member of. | |
| checkGroups (&$groups) | |
| Make sure the user (uid) is a member of all the listed groups. | |
It provides basic, read-only access to user data.
Definition at line 11 of file Login.php.
|
||||||||||||
|
This is not meant to be constructed from outside the GenieGate_Api_Login class. (It is "protected") |
|
|
Make sure the user (uid) is a member of all the listed groups.
|
|
|
Checks the users password against the supplied one. This handles the crypt() 1-way cipher.
|
|
|
Check to see if the session key matches. Session keys are crypted before they are held in the session to prevent someone who has access to the session data from hi-jacking it.
|
|
|
Get the email address.
|
|
|
Get an array of all groups this user is a member of.
|
|
|
Get the users name. This is the users common name.
|
|
|
Get users properties. Fetches an associative array of the users properties, the array consists of propertyName => propertyValue. The optional $section parameter is used to specify which section to use, and defaults to "genie.form.Public". By default, the only sections are genie.form.Public and genie.form.Private (Properties visible to user, and properties hidden from user) but the other modules for creating properties have support for multiple sections to facilitate customization.
|
|
|
Get the user ID.
|
|
|
Check to see if the account has been confirmed. If the user signed up, but did not click the link sent in email, this method will return FALSE. |
Documentation generated by DoxyGen