PHP Class BannerImage

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

Méthodes publiques

Méthode Description
attributeLabels ( ) : array
getImageWithSize ( $width, $height )
model ( string $className = __CLASS__ ) : BannerImage Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
tableName ( ) : string

Method Details

attributeLabels() public méthode

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

getImageWithSize() public méthode

public getImageWithSize ( $width, $height )

model() public static méthode

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

tableName() public méthode

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