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.
CSERDUser::doc | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SUser.
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 |
CSERDUser::getAttributes | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SUser.
CSERDUser::getEntity | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SModel.
CSERDUser::getId | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
CSERDUser::getUniqueAttributes | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SUser.
CSERDUser::hasEditor | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
CSERDUser::isAccredited | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
CSERDUser::isActive | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
CSERDUser::isEditor | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
CSERDUser::isReviewer | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
CSERDUser::reset | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SUser.
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 |
CSERDUser::setAccredited | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
CSERDUser::setActive | ( | $ | active = "" |
) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$active | [TYPE]: DESCRIPTION |
CSERDUser::setEmail | ( | $ | a | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$a | [TYPE]: DESCRIPTION |
CSERDUser::setId | ( | $ | id | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$id | [TYPE]: DESCRIPTION |
CSERDUser::setNotAccredited | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE