PHP Class ContentBlock

The followings are the available columns in table 'ContentBlock':
Inheritance: extends CActiveRecord
Afficher le fichier Open project: yupe/yupe Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
beforeSave ( ) : boolean

Method Details

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array customized attribute labels (name=>label)

beforeSave() protected méthode

protected beforeSave ( ) : boolean
Résultat boolean

getCategoryAlias() public méthode

public getCategoryAlias ( ) : string
Résultat string

getCategoryName() public méthode

public getCategoryName ( ) : string
Résultat string

getContent() public méthode

public getContent ( ) : string
Résultat string

getStatusList() public méthode

public getStatusList ( ) : array
Résultat array

getType() public méthode

public getType ( ) : mixed | string
Résultat mixed | string

getTypes() public méthode

public getTypes ( ) : array
Résultat array

model() public static méthode

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : ContentBlock
$className string
Résultat ContentBlock the static model class

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

scopes() public méthode

public scopes ( ) : array
Résultat array

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name