PHP Class common\models\ApplyGoods

Inheritance: extends yii\db\ActiveRecord
ファイルを表示 Open project: daixianceng/xiaoego.com Class Usage Examples

Public Methods

Method Description
attributeLabels ( )
createDuplicate ( string $goodsId ) : ApplyGoods 从某个商品创建副本
getApply ( ) : ActiveQuery
getFee ( ) : string 获取总价
getGoods ( ) : ActiveQuery
rules ( )
tableName ( )

Method Details

attributeLabels() public method

public attributeLabels ( )

createDuplicate() public static method

从某个商品创建副本
public static createDuplicate ( string $goodsId ) : ApplyGoods
$goodsId string
return ApplyGoods

getApply() public method

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

getFee() public method

获取总价
public getFee ( ) : string
return string

getGoods() public method

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

rules() public method

public rules ( )

tableName() public static method

public static tableName ( )