|
HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
|


Public Member Functions | |
| tableName () | |
| search ($params) | |
| createRequest ($params) | |
| commandFind ($userId) | |
| getResponse ($userId) | |
| setRightsAllRecords ($records, $rights=array()) | |
| setRightsSingleRecord ($params, $autoSet=false) | |
| encode ($data) | |
| decode ($data) | |
| buildFindParams ($params) | |
| buildRightsSingleRecordParams ($record, $rights=array()) | |
Public Member Functions inherited from UsersRights | |
| behaviors () | |
| getRightsList () | |
| setRightsList ($rights) | |
Static Public Member Functions | |
| static | model ($className=__CLASS__) |
Protected Member Functions | |
| _getRightsKey () | |
Protected Member Functions inherited from UsersRights | |
| _getValueFromRecord ($record, $fields) | |
Private Member Functions | |
| __createRequestCriterions ($params) | |
Private Attributes | |
| $__key = 'Site' | |
Definition at line 2 of file UsersSitesRights.php.
|
private |
Create criterions for request.
| array | $params |
Definition at line 307 of file UsersSitesRights.php.

|
protected |
Returns rights key.
Reimplemented from UsersRights.
Definition at line 295 of file UsersSitesRights.php.
| UsersSitesRights::buildFindParams | ( | $params | ) |
Returns find params default.
| array | $params |
Definition at line 239 of file UsersSitesRights.php.
| UsersSitesRights::buildRightsSingleRecordParams | ( | $record, | |
$rights = array() |
|||
| ) |
Returns update site params.
| array | $site | |
| array | $rights |
Reimplemented from UsersRights.
Definition at line 273 of file UsersSitesRights.php.


| UsersSitesRights::commandFind | ( | $userId | ) |
Start command by userId.
| string | $userId |
Definition at line 96 of file UsersSitesRights.php.


| UsersSitesRights::createRequest | ( | $params | ) |
Create request json file.
| array | $params |
Definition at line 78 of file UsersSitesRights.php.

| UsersSitesRights::decode | ( | $data | ) |
Decode string data to array.
| string | $data |
Definition at line 227 of file UsersSitesRights.php.

| UsersSitesRights::encode | ( | $data | ) |
Encode array data in string.
| array | $data |
Definition at line 215 of file UsersSitesRights.php.
| UsersSitesRights::getResponse | ( | $userId | ) |
Returns response by userId.
| string | $userId |
Definition at line 117 of file UsersSitesRights.php.

|
static |
Returns the static model of the specified AR class.
Reimplemented from UsersRights.
Definition at line 16 of file UsersSitesRights.php.
| UsersSitesRights::search | ( | $params | ) |
Returns sites by search params.
| array | $params |
Reimplemented from UsersRights.
Definition at line 38 of file UsersSitesRights.php.

| UsersSitesRights::setRightsAllRecords | ( | $records, | |
$rights = array() |
|||
| ) |
Update users sites rights.
| array | $records | |
| array | $rights |
Reimplemented from UsersRights.
Definition at line 132 of file UsersSitesRights.php.

| UsersSitesRights::setRightsSingleRecord | ( | $params, | |
$autoSet = false |
|||
| ) |
Set rights for user site.
| array | $params | |
| boolean | $autoSet |
Reimplemented from UsersRights.
Definition at line 155 of file UsersSitesRights.php.


| UsersSitesRights::tableName | ( | ) |
Table name.
Definition at line 26 of file UsersSitesRights.php.
|
private |
Definition at line 9 of file UsersSitesRights.php.