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

Public Member Functions

 behaviors ()
 getRightsList ()
 setRightsList ($rights)
 search ($params)
 setRightsAllRecords ($records, $rights=array())
 setRightsSingleRecord ($params, $autoSet=false)
 buildRightsSingleRecordParams ($record, $rights=array())

Static Public Member Functions

static model ($className=__CLASS__)

Protected Member Functions

 _getRightsKey ()
 _getValueFromRecord ($record, $fields)

Detailed Description

Definition at line 2 of file UsersRights.php.

Member Function Documentation

UsersRights::_getRightsKey ( )
abstractprotected

Returns rights key.

Returns
string

Reimplemented in UsersSitesRights.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

UsersRights::behaviors ( )

Returns a list of behaviors that this model should behave as.

Returns
array

Definition at line 19 of file UsersRights.php.

Here is the call graph for this function:

UsersRights::buildRightsSingleRecordParams (   $record,
  $rights = array() 
)
abstract

Build rights single record params.

Parameters
array$record
array$rights
Returns
array

Reimplemented in UsersSitesRights.

UsersRights::getRightsList ( )

Returns rights list.

Returns
array

Definition at line 35 of file UsersRights.php.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

UsersRights::search (   $params)
abstract

Returns data by search params.

Parameters
array$params
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
string$rights
Returns
boolean

Definition at line 49 of file UsersRights.php.

Here is the call graph for this function:

UsersRights::setRightsSingleRecord (   $params,
  $autoSet = false 
)
abstract

Set rights for single record.

Parameters
array$paramsbuildRightsSingleRecordParams
boolean$autoSet
Returns
boolean

Reimplemented in UsersSitesRights.


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