PHP Class Sku

Author: : [email protected]
Inheritance: extends MY_Controller
Afficher le fichier Open project: yinhe/yincart Class Usage Examples

Méthodes publiques

Méthode Description
attributeLabels ( ) : array
beforeSave ( )
getSkusData ( $item_id )
model ( string $className = __CLASS__ ) : Sku 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.
tableName ( ) : string

Method Details

attributeLabels() public méthode

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

beforeSave() public méthode

public beforeSave ( )

getSkusData() public static méthode

public static getSkusData ( $item_id )

model() public static méthode

Please note that you should have this exact method in all your CActiveRecord descendants!
public static model ( string $className = __CLASS__ ) : Sku
$className string active record class name.
Résultat Sku 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