Setup/Initialization/Destruction | |
| Privilege ($Id, $Name=NULL) | |
| Object Constructor Pass in a value for the name and a NULL id to make a new privilege. | |
| Delete () | |
| Delete this privelege from the DB NOTE: the object should not be used after calling this. | |
Accessors | |
| Id () | |
| Get Id. | |
| Name ($NewValue=NULL) | |
| Get or set Name. | |
| IsPredefined ($Id=NULL) | |
| Report whether privilege is predefined or custom Can be called as Privilege::IsPredefind(ID). | |
Definition at line 24 of file Privilege.php.
| Privilege::Delete | ( | ) |
Delete this privelege from the DB NOTE: the object should not be used after calling this.
Definition at line 82 of file Privilege.php.
References Id(), and IsPredefined().
| Privilege::Id | ( | ) |
Get Id.
Definition at line 98 of file Privilege.php.
Referenced by Delete(), IsPredefined(), Name(), and Privilege().

| Privilege::IsPredefined | ( | $ | Id = NULL |
) |
Report whether privilege is predefined or custom Can be called as Privilege::IsPredefind(ID).
| Id | (OPTIONAL) |
Definition at line 123 of file Privilege.php.
References Id().
Referenced by Delete(), Name(), and Privilege().

| Privilege::Name | ( | $ | NewValue = NULL |
) |
Get or set Name.
| NewValue | (OPTIONAL) |
Definition at line 104 of file Privilege.php.
References Id(), and IsPredefined().
Referenced by Privilege().

| Privilege::Privilege | ( | $ | Id, | |
| $ | Name = NULL | |||
| ) |
Object Constructor Pass in a value for the name and a NULL id to make a new privilege.
| Id | Privilege ID number | |
| Name |
Definition at line 37 of file Privilege.php.
References Id(), IsPredefined(), and Name().