HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
UsersSitesRights Class Reference
Inheritance diagram for UsersSitesRights:
Collaboration diagram for UsersSitesRights:

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'

Detailed Description

Definition at line 2 of file UsersSitesRights.php.

Member Function Documentation

UsersSitesRights::__createRequestCriterions (   $params)
private

Create criterions for request.

Parameters
array$params
Returns
array

Definition at line 307 of file UsersSitesRights.php.

Here is the caller graph for this function:

UsersSitesRights::_getRightsKey ( )
protected

Returns rights key.

Returns
string

Reimplemented from UsersRights.

Definition at line 295 of file UsersSitesRights.php.

UsersSitesRights::buildFindParams (   $params)

Returns find params default.

Parameters
array$params
Returns
array

Definition at line 239 of file UsersSitesRights.php.

UsersSitesRights::buildRightsSingleRecordParams (   $record,
  $rights = array() 
)

Returns update site params.

Parameters
array$site
array$rights
Returns
array

Reimplemented from UsersRights.

Definition at line 273 of file UsersSitesRights.php.

Here is the call graph for this function:

Here is the caller graph for this function:

UsersSitesRights::commandFind (   $userId)

Start command by userId.

Parameters
string$userId
Returns
array

Definition at line 96 of file UsersSitesRights.php.

Here is the call graph for this function:

Here is the caller graph for this function:

UsersSitesRights::createRequest (   $params)

Create request json file.

Parameters
array$params

Definition at line 78 of file UsersSitesRights.php.

Here is the call graph for this function:

UsersSitesRights::decode (   $data)

Decode string data to array.

Parameters
string$data
Returns
array

Definition at line 227 of file UsersSitesRights.php.

Here is the caller graph for this function:

UsersSitesRights::encode (   $data)

Encode array data in string.

Parameters
array$data
Returns
string

Definition at line 215 of file UsersSitesRights.php.

UsersSitesRights::getResponse (   $userId)

Returns response by userId.

Parameters
string$userId
Returns
array

Definition at line 117 of file UsersSitesRights.php.

Here is the caller graph for this function:

static UsersSitesRights::model (   $className = __CLASS__)
static

Returns the static model of the specified AR class.

Returns
CActiveRecord the static model class

Reimplemented from UsersRights.

Definition at line 16 of file UsersSitesRights.php.

UsersSitesRights::search (   $params)

Returns sites by search params.

Parameters
array$params
Returns
array

Reimplemented from UsersRights.

Definition at line 38 of file UsersSitesRights.php.

Here is the call graph for this function:

UsersSitesRights::setRightsAllRecords (   $records,
  $rights = array() 
)

Update users sites rights.

Parameters
array$records
array$rights
Returns
boolean

Reimplemented from UsersRights.

Definition at line 132 of file UsersSitesRights.php.

Here is the call graph for this function:

UsersSitesRights::setRightsSingleRecord (   $params,
  $autoSet = false 
)

Set rights for user site.

Parameters
array$params
boolean$autoSet
Returns
boolean

Reimplemented from UsersRights.

Definition at line 155 of file UsersSitesRights.php.

Here is the call graph for this function:

Here is the caller graph for this function:

UsersSitesRights::tableName ( )

Table name.

Returns
string the associated database table name

Definition at line 26 of file UsersSitesRights.php.

Member Data Documentation

UsersSitesRights::$__key = 'Site'
private

Definition at line 9 of file UsersSitesRights.php.


The documentation for this class was generated from the following file: