PHP Class ProductDescription

Afficher le fichier Open project: damnpoet/yiicart Class Usage Examples

Méthodes publiques

Méthode Description
attributeLabels ( ) : array
getDescription ( )
getDescriptionShort ( $limit = 255 )
getNameShort ( $limit = 50 )
model ( string $className = __CLASS__ ) : ProductDescription 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)

getDescription() public méthode

public getDescription ( )

getDescriptionShort() public méthode

public getDescriptionShort ( $limit = 255 )

getNameShort() public méthode

public getNameShort ( $limit = 50 )

model() public static méthode

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