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

Public Member Functions

 tableName ()
 rules ()
 relations ()
 attributeLabels ()
 scopes ()
 defaultScope ()
 search ()
 getCreatetime ()
 setCreatetime ($value)
 getLastvisit ()
 setLastvisit ($value)
 behaviors ()

Static Public Member Functions

static model ($className=__CLASS__)
static itemAlias ($type, $code=null)

Public Attributes

const STATUS_NOACTIVE = 0
const STATUS_ACTIVE = 1
const STATUS_BANNED = -1
const STATUS_TEMP = 2
const STATUS_BANED = -1

Detailed Description

Definition at line 3 of file User.php.

Member Function Documentation

User::attributeLabels ( )
Returns
array customized attribute labels (name=>label)

Definition at line 94 of file User.php.

Here is the call graph for this function:

User::behaviors ( )

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

Returns
array

Definition at line 221 of file User.php.

User::defaultScope ( )

Definition at line 137 of file User.php.

User::getCreatetime ( )

Definition at line 196 of file User.php.

User::getLastvisit ( )

Definition at line 206 of file User.php.

static User::itemAlias (   $type,
  $code = null 
)
static

Definition at line 145 of file User.php.

Here is the call graph for this function:

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

Returns the static model of the specified AR class.

Returns
CActiveRecord the static model class

Definition at line 34 of file User.php.

Here is the caller graph for this function:

User::relations ( )
Returns
array relational rules.

Definition at line 81 of file User.php.

User::rules ( )
Returns
array validation rules for model attributes.

Reimplemented in RegistrationForm.

Definition at line 50 of file User.php.

Here is the call graph for this function:

User::scopes ( )

Definition at line 113 of file User.php.

User::search ( )

Retrieves a list of models based on the current search/filter conditions.

Returns
CActiveDataProvider the data provider that can return the models based on the search/filter conditions.

Definition at line 171 of file User.php.

User::setCreatetime (   $value)

Definition at line 201 of file User.php.

User::setLastvisit (   $value)

Definition at line 211 of file User.php.

User::tableName ( )
Returns
string the associated database table name

Definition at line 42 of file User.php.

Member Data Documentation

const User::STATUS_ACTIVE = 1

Definition at line 6 of file User.php.

const User::STATUS_BANED = -1

Definition at line 11 of file User.php.

const User::STATUS_BANNED = -1

Definition at line 7 of file User.php.

const User::STATUS_NOACTIVE = 0

Definition at line 5 of file User.php.

const User::STATUS_TEMP = 2

Definition at line 8 of file User.php.


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