PHP Class ContentBlock, yupe

The followings are the available columns in table 'ContentBlock':
Inheritance: extends CActiveRecord
ファイルを表示 Open project: yupe/yupe Class Usage Examples

Public Methods

Method Description
attributeLabels ( ) : array
getCategoryAlias ( ) : string
getCategoryName ( ) : string
getContent ( ) : string
getStatusList ( ) : array
getType ( ) : mixed | string
getTypes ( ) : array
model ( string $className = __CLASS__ ) : ContentBlock Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
scopes ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string

Protected Methods

Method Description
beforeSave ( ) : boolean

Method Details

attributeLabels() public method

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

beforeSave() protected method

protected beforeSave ( ) : boolean
return boolean

getCategoryAlias() public method

public getCategoryAlias ( ) : string
return string

getCategoryName() public method

public getCategoryName ( ) : string
return string

getContent() public method

public getContent ( ) : string
return string

getStatusList() public method

public getStatusList ( ) : array
return array

getType() public method

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

getTypes() public method

public getTypes ( ) : array
return array

model() public static method

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : ContentBlock
$className string
return ContentBlock 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.

scopes() public method

public scopes ( ) : array
return array

tableName() public method

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