PHP Class common\models\Purchase

Inheritance: extends yii\db\ActiveRecord
Afficher le fichier Open project: daixianceng/xiaoego.com Class Usage Examples

Méthodes publiques

Méthode Description
attributeLabels ( )
behaviors ( )
clear ( $storeId )
getGoods ( ) : ActiveQuery
getIsExpired ( ) : boolean 获取该商品是否失效
getStore ( ) : ActiveQuery
getVolumeByStoreId ( $storeId )
hasGoods ( $id )
rules ( )
tableName ( )

Method Details

attributeLabels() public méthode

public attributeLabels ( )

behaviors() public méthode

public behaviors ( )

clear() public static méthode

public static clear ( $storeId )

getGoods() public méthode

public getGoods ( ) : ActiveQuery
Résultat yii\db\ActiveQuery

getIsExpired() public méthode

获取该商品是否失效
public getIsExpired ( ) : boolean
Résultat boolean

getStore() public méthode

public getStore ( ) : ActiveQuery
Résultat yii\db\ActiveQuery

getVolumeByStoreId() public static méthode

public static getVolumeByStoreId ( $storeId )

hasGoods() public static méthode

public static hasGoods ( $id )

rules() public méthode

public rules ( )

tableName() public static méthode

public static tableName ( )