
Public Member Functions | |
| doc () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| getAttributes () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| getEntity () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| getId () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| getUniqueAttributes () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| hasEditor () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| isAccredited () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| isActive () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| isEditor () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| isReviewer () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| reset () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| setAccredited () | |
| INSERT BRIEF DESCRIPTION HERE. | |
| setActive ($active="") | |
| INSERT BRIEF DESCRIPTION HERE. | |
| setEmail ($a) | |
| INSERT BRIEF DESCRIPTION HERE. | |
| setId ($id) | |
| INSERT BRIEF DESCRIPTION HERE. | |
| setNotAccredited () | |
| INSERT BRIEF DESCRIPTION HERE. | |
Static Public Member Functions | |
| static | exists ($constraints=array()) |
| Checks to see if object exists according to constraints. | |
| static | retrieve ($constraints=array(), $checkOnly=false) |
| Retrieves a single object of this type, given the constraints. | |
Public Attributes | |
| const | NOT_ACTIVE |
| Means the user is not currently active in the system (not allowed to login). | |
Protected Attributes | |
| $active | |
| Whether or not the user is active (or disabled). | |
| $firstName | |
| The first name of the user as a string. | |
| $lastName | |
| The last name of the user as a string. | |
| $role | |
| The user's current role (changes based on their login status). | |
| $userName | |
| The username of the user for login. | |
Author: mevans@shodor.org, jwsm@shodor.org Last Updated: 12/3/2007 - jwsm@shodor.org - changed object to extend SUser as local project user object under SWAT user authentication paradigm.
Created: Mar 8, 2007 This object represents a user from CSERD. The users contains all of the information necessary to write a review, interact with the site, and function as a member of CSERD.
Definition at line 17 of file CSERDUser.php5.
| CSERDUser::doc | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SUser.
Definition at line 57 of file CSERDUser.php5.
| static CSERDUser::exists | ( | $ | constraints = array() |
) | [static] |
Checks to see if object exists according to constraints.
This is simply an alias for retrieve($constraints, true);
| $constraints | [array]: constraints used to check for existence of object |
Definition at line 270 of file CSERDUser.php5.
| CSERDUser::getAttributes | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SUser.
Definition at line 68 of file CSERDUser.php5.
| CSERDUser::getEntity | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SModel.
Definition at line 91 of file CSERDUser.php5.
| CSERDUser::getId | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Definition at line 102 of file CSERDUser.php5.
| CSERDUser::getUniqueAttributes | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SUser.
Definition at line 80 of file CSERDUser.php5.
| CSERDUser::hasEditor | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Definition at line 204 of file CSERDUser.php5.
References SUser::isAdmin(), and isEditor().
| CSERDUser::isAccredited | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Definition at line 231 of file CSERDUser.php5.
| CSERDUser::isActive | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Definition at line 219 of file CSERDUser.php5.
| CSERDUser::isEditor | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Definition at line 182 of file CSERDUser.php5.
Referenced by hasEditor().
| CSERDUser::isReviewer | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Definition at line 193 of file CSERDUser.php5.
| CSERDUser::reset | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SUser.
Definition at line 243 of file CSERDUser.php5.
References setActive(), setEmail(), and setId().
| static CSERDUser::retrieve | ( | $ | constraints = array(), |
|
| $ | checkOnly = false | |||
| ) | [static] |
Retrieves a single object of this type, given the constraints.
Use this method instead of the constructor since the constructor cannot return error conditions properly.
| $constraints | [array]: constraints to use when retrieving object | |
| $checkOnly | [boolean]: if true, just return whether the row exists in the DB |
Definition at line 285 of file CSERDUser.php5.
| CSERDUser::setAccredited | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Definition at line 156 of file CSERDUser.php5.
| CSERDUser::setActive | ( | $ | active = "" |
) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
| $active | [TYPE]: DESCRIPTION |
Definition at line 141 of file CSERDUser.php5.
References $active.
Referenced by reset().
| CSERDUser::setEmail | ( | $ | a | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
| $a | [TYPE]: DESCRIPTION |
Definition at line 125 of file CSERDUser.php5.
References SObject::setError().
Referenced by reset().
| CSERDUser::setId | ( | $ | id | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
| $id | [TYPE]: DESCRIPTION |
Definition at line 111 of file CSERDUser.php5.
References SUser::$id.
Referenced by reset().
| CSERDUser::setNotAccredited | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Definition at line 167 of file CSERDUser.php5.
1.5.6