PHP Class common\models\CartGoods

Inheritance: extends yii\db\ActiveRecord
显示文件 Open project: daixianceng/xiaoego.com Class Usage Examples

Public Methods

Method Description
attributeLabels ( )
behaviors ( )
getGoods ( ) : ActiveQuery
getImages ( ) : ActiveQuery
getIsExpired ( ) : boolean 获取该商品是否失效
getIsTooMuch ( ) : boolean 获取该商品数量是否超出范围
getUser ( ) : ActiveQuery
rules ( )
tableName ( )

Method Details

attributeLabels() public method

public attributeLabels ( )

behaviors() public method

public behaviors ( )

getGoods() public method

public getGoods ( ) : ActiveQuery
return yii\db\ActiveQuery

getImages() public method

public getImages ( ) : ActiveQuery
return yii\db\ActiveQuery

getIsExpired() public method

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

getIsTooMuch() public method

获取该商品数量是否超出范围
public getIsTooMuch ( ) : boolean
return boolean

getUser() public method

public getUser ( ) : ActiveQuery
return yii\db\ActiveQuery

rules() public method

public rules ( )

tableName() public static method

public static tableName ( )