CWIS Developer Documentation
|
User rights management framework allowing custom privege definition. More...
Setup/Initialization/Destruction | |
__construct ($Id, $Name=NULL) | |
Object Constructor Pass in a value for the name and a NULL id to make a new privilege. More... | |
Delete () | |
Delete this privelege from the DB NOTE: the object should not be used after calling this. More... | |
Accessors | |
Id () | |
Get Id. More... | |
Name ($NewValue=NULL) | |
Get or set Name. More... | |
IsPredefined ($Id=NULL) | |
Report whether privilege is predefined or custom Can be called as Privilege::IsPredefind(ID) More... | |
User rights management framework allowing custom privege definition.
Definition at line 15 of file Privilege.php.
Privilege::__construct | ( | $Id, | |
$Name = NULL |
|||
) |
Object Constructor Pass in a value for the name and a NULL id to make a new privilege.
Definition at line 29 of file Privilege.php.
References Id(), IsPredefined(), and Name().
Privilege::Delete | ( | ) |
Delete this privelege from the DB NOTE: the object should not be used after calling this.
Definition at line 74 of file Privilege.php.
References Id(), and IsPredefined().
Privilege::Id | ( | ) |
Get Id.
Definition at line 90 of file Privilege.php.
Referenced by __construct(), Delete(), and Name().
Privilege::IsPredefined | ( | $Id = NULL | ) |
Report whether privilege is predefined or custom Can be called as Privilege::IsPredefind(ID)
int | $Id | Privilege ID (OPTIONAL) |
Definition at line 119 of file Privilege.php.
Referenced by __construct(), Delete(), and Name().
Privilege::Name | ( | $NewValue = NULL | ) |
Get or set Name.
string | $NewValue | New value (OPTIONAL) |
Definition at line 100 of file Privilege.php.
References Id(), and IsPredefined().
Referenced by __construct().