Static Public Member Functions |
static | model ($className=__CLASS__) |
Detailed Description
Definition at line 2 of file UsersRights.php.
Member Function Documentation
UsersRights::_getRightsKey |
( |
| ) |
|
|
abstractprotected |
UsersRights::_getValueFromRecord |
( |
|
$record, |
|
|
|
$fields |
|
) |
| |
|
protected |
Returns value from record by fields.
- Parameters
-
array | $record | |
array | $fields | |
- Returns
- string
Definition at line 109 of file UsersRights.php.
UsersRights::behaviors |
( |
| ) |
|
Returns a list of behaviors that this model should behave as.
- Returns
- array
Definition at line 19 of file UsersRights.php.
UsersRights::buildRightsSingleRecordParams |
( |
|
$record, |
|
|
|
$rights = array() |
|
) |
| |
|
abstract |
Build rights single record params.
- Parameters
-
array | $record | |
array | $rights | |
- Returns
- array
Reimplemented in UsersSitesRights.
UsersRights::getRightsList |
( |
| ) |
|
static UsersRights::model |
( |
|
$className = __CLASS__ | ) |
|
|
static |
Returns the static model of the specified AR class.
- Returns
- CActiveRecord the static model class
Reimplemented in UsersSitesRights.
Definition at line 9 of file UsersRights.php.
UsersRights::search |
( |
|
$params | ) |
|
|
abstract |
Returns data by search params.
- Parameters
-
- Returns
- array
Reimplemented in UsersSitesRights.
UsersRights::setRightsAllRecords |
( |
|
$records, |
|
|
|
$rights = array() |
|
) |
| |
|
abstract |
Set rights for all record.
- Parameters
-
array | $records | |
array | $rights | |
- Returns
- boolean
Reimplemented in UsersSitesRights.
UsersRights::setRightsList |
( |
|
$rights | ) |
|
Set rights list.
- Parameters
-
- Returns
- boolean
Definition at line 49 of file UsersRights.php.
UsersRights::setRightsSingleRecord |
( |
|
$params, |
|
|
|
$autoSet = false |
|
) |
| |
|
abstract |
Set rights for single record.
- Parameters
-
array | $params | buildRightsSingleRecordParams |
boolean | $autoSet | |
- Returns
- boolean
Reimplemented in UsersSitesRights.
The documentation for this class was generated from the following file: