PHP Class frontend\models\CreateOrderForm

Inheritance: extends yii\base\Model
Show file Open project: daixianceng/xiaoego.com Class Usage Examples

Public Properties

Property Type Description
$addressId
$bookTime
$newDown
$payment
$preferential
$remark

Public Methods

Method Description
__construct ( $id, $config = [] )
attributeLabels ( )
create ( string $runValidation = true ) : boolean 创建订单
getAddressList ( )
getBookTimeItems ( )
getCartGoodsList ( )
getOrder ( )
getPreferentialItems ( )
getStore ( )
init ( )
rules ( )

Method Details

__construct() public method

public __construct ( $id, $config = [] )

attributeLabels() public method

public attributeLabels ( )

create() public method

创建订单
public create ( string $runValidation = true ) : boolean
$runValidation string
return boolean

getAddressList() public method

public getAddressList ( )

getBookTimeItems() public method

public getBookTimeItems ( )

getCartGoodsList() public method

public getCartGoodsList ( )

getOrder() public method

public getOrder ( )

getPreferentialItems() public method

getStore() public method

public getStore ( )

init() public method

public init ( )

rules() public method

public rules ( )

Property Details

$addressId public property

public $addressId

$bookTime public property

public $bookTime

$newDown public property

public $newDown

$payment public property

public $payment

$preferential public property

public $preferential

$remark public property

public $remark