PHP Class UserToBlog

The followings are the available columns in table 'user_to_blog':
Inheritance: extends yupe\models\YModel
显示文件 Open project: yupe/yupe Class Usage Examples

Public Methods

Method Description
activate ( )
afterSave ( )
attributeDescriptions ( ) : array
attributeLabels ( ) : array
beforeDelete ( ) : boolean
behaviors ( ) : array
getRole ( ) : mixed | string
getRoleList ( ) : array
getStatus ( ) : mixed | string
getStatusList ( ) : array
isActive ( ) : boolean
isConfirmation ( ) : boolean
isDeleted ( ) : boolean
model ( string $className = __CLASS__ ) : UserToBlog Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string

Method Details

activate() public method

public activate ( )

afterSave() public method

public afterSave ( )

attributeDescriptions() public method

public attributeDescriptions ( ) : array
return array customized attribute descriptions (name=>description)

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)

beforeDelete() public method

public beforeDelete ( ) : boolean
return boolean

behaviors() public method

public behaviors ( ) : array
return array

getRole() public method

public getRole ( ) : mixed | string
return mixed | string

getRoleList() public method

public getRoleList ( ) : array
return array

getStatus() public method

public getStatus ( ) : mixed | string
return mixed | string

getStatusList() public method

public getStatusList ( ) : array
return array

isActive() public method

public isActive ( ) : boolean
return boolean

isConfirmation() public method

public isConfirmation ( ) : boolean
return boolean

isDeleted() public method

public isDeleted ( ) : boolean
return boolean

model() public static method

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : UserToBlog
$className string
return UserToBlog the static model class

relations() public method

public relations ( ) : array
return array relational rules.

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

tableName() public method

public tableName ( ) : string
return string the associated database table name