PHP 클래스 common\models\Purchase

상속: extends yii\db\ActiveRecord
파일 보기 프로젝트 열기: daixianceng/xiaoego.com 1 사용 예제들

공개 메소드들

메소드 설명
attributeLabels ( )
behaviors ( )
clear ( $storeId )
getGoods ( ) : ActiveQuery
getIsExpired ( ) : boolean 获取该商品是否失效
getStore ( ) : ActiveQuery
getVolumeByStoreId ( $storeId )
hasGoods ( $id )
rules ( )
tableName ( )

메소드 상세

attributeLabels() 공개 메소드

public attributeLabels ( )

behaviors() 공개 메소드

public behaviors ( )

clear() 공개 정적인 메소드

public static clear ( $storeId )

getGoods() 공개 메소드

public getGoods ( ) : ActiveQuery
리턴 yii\db\ActiveQuery

getIsExpired() 공개 메소드

获取该商品是否失效
public getIsExpired ( ) : boolean
리턴 boolean

getStore() 공개 메소드

public getStore ( ) : ActiveQuery
리턴 yii\db\ActiveQuery

getVolumeByStoreId() 공개 정적인 메소드

public static getVolumeByStoreId ( $storeId )

hasGoods() 공개 정적인 메소드

public static hasGoods ( $id )

rules() 공개 메소드

public rules ( )

tableName() 공개 정적인 메소드

public static tableName ( )