PHP Class Block, gxc-cms

Afficher le fichier Open project: nganhtuan63/gxc-cms Class Usage Examples

Méthodes publiques

Méthode Description
attributeLabels ( ) : array
getLabel ( $obj, $attr )
model ( $className = __CLASS__ ) : Block 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.
suggestBlocks ( )
tableName ( ) : string

Méthodes protégées

Méthode Description
afterDelete ( )
beforeSave ( )

Method Details

afterDelete() protected méthode

protected afterDelete ( )

attributeLabels() public méthode

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

beforeSave() protected méthode

protected beforeSave ( )

getLabel() public static méthode

public static getLabel ( $obj, $attr )

model() public static méthode

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Block
Résultat Block 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.

suggestBlocks() public static méthode

public static suggestBlocks ( )

tableName() public méthode

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