PHP Class common\models\Goods

Inheritance: extends yii\db\ActiveRecord
Exibir arquivo Open project: daixianceng/xiaoego.com Class Usage Examples

Public Properties

Property Type Description
$image
$photos

Public Methods

Method Description
attributeLabels ( )
behaviors ( )
getCategory ( ) : ActiveQuery
getImages ( ) : ActiveQuery
getIsHotList ( )
getIsHotMsg ( )
getIsNewList ( )
getIsNewMsg ( )
getIsPromotionList ( )
getIsPromotionMsg ( )
getStatusList ( )
getStatusMsg ( )
getStore ( ) : ActiveQuery
getSurpluses ( ) : ActiveQuery
moveSurplus ( integer $number, string $remark ) : boolean 调整库存
rules ( )
tableName ( )

Method Details

attributeLabels() public method

public attributeLabels ( )

behaviors() public method

public behaviors ( )

getCategory() public method

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

getImages() public method

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

getIsHotList() public static method

public static getIsHotList ( )

getIsHotMsg() public method

public getIsHotMsg ( )

getIsNewList() public static method

public static getIsNewList ( )

getIsNewMsg() public method

public getIsNewMsg ( )

getIsPromotionList() public static method

public static getIsPromotionList ( )

getIsPromotionMsg() public method

public getIsPromotionMsg ( )

getStatusList() public static method

public static getStatusList ( )

getStatusMsg() public method

public getStatusMsg ( )

getStore() public method

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

getSurpluses() public method

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

moveSurplus() public method

调整库存
public moveSurplus ( integer $number, string $remark ) : boolean
$number integer
$remark string
return boolean

rules() public method

public rules ( )

tableName() public static method

public static tableName ( )

Property Details

$image public_oe property

public $image

$photos public_oe property

public $photos