DAOSystemUsers Class Reference
[Usermanagement]
A fake user class to use as system user. More...
Public Member Functions |
|
__construct () | |
get_role_names () | |
Returns array of role names. |
|
get_status () | |
Returns status. |
|
is_active () | |
Returns true, if status is active. |
|
is_deleted () | |
Returns true, if status is deleted. |
|
is_disabled () | |
Returns true, if status is disabled.
|
|
is_unconfirmed () | |
Returns true, if status is unconfirmed.
|
Detailed Description
A fake user class to use as system user.
There is no SYSTEM role in DB, since SYSTEM is not a real user. Therefore this class is used
Definition at line 11 of file systemusers.model.php.
Constructor & Destructor Documentation
DAOSystemUsers::__construct | ( | ) |
Reimplemented from DataObjectBase.
Definition at line 12 of file systemusers.model.php.
00012 { 00013 parent::__construct(); 00014 $this->email = Config::get_value(Config::MAIL_ADMIN); 00015 }
Member Function Documentation
DAOSystemUsers::get_role_names | ( | ) |
Returns array of role names.
- Returns:
- array
Reimplemented from DAOUsers.
Definition at line 72 of file systemusers.model.php.
DAOSystemUsers::get_status | ( | ) |
Returns status.
- Returns:
- string
Reimplemented from DAOUsers.
Definition at line 22 of file systemusers.model.php.
00022 { 00023 return Users::STATUS_ACTIVE; 00024 }
DAOSystemUsers::is_active | ( | ) |
Returns true, if status is active.
- Returns:
- bool
Reimplemented from DAOUsers.
Definition at line 31 of file systemusers.model.php.
DAOSystemUsers::is_deleted | ( | ) |
Returns true, if status is deleted.
- Returns:
- bool
Reimplemented from DAOUsers.
Definition at line 49 of file systemusers.model.php.
DAOSystemUsers::is_disabled | ( | ) |
Returns true, if status is disabled.
- Returns:
- bool
Reimplemented from DAOUsers.
Definition at line 58 of file systemusers.model.php.
DAOSystemUsers::is_unconfirmed | ( | ) |
Returns true, if status is unconfirmed.
- Returns:
- bool
Reimplemented from DAOUsers.
Definition at line 40 of file systemusers.model.php.
The documentation for this class was generated from the following file:
- contributions/usermanagement/model/classes/systemusers.model.php