PHP Class app\Order

Inheritance: extends Illuminate\Database\Eloquent\Model
显示文件 Open project: ant-vel/antVel Class Usage Examples

Protected Properties

Property Type Description
$appends
$fillable array The attributes that are mass assignable.
$table string The database table used by the model.

Public Methods

Method Description
create ( array $options = [] )
createLog ( )
details ( )
freeproducts ( )
getDetailsAttribute ( )
getTranslatedStatusAttribute ( )
inDetail ( )
placeOrders ( integer $type_order ) : app\Response Start the checkout process for any type of order.
save ( array $options = [] )
scopeOfDates ( $query, $from, $to = '' )
scopeOfStatus ( $query, $status )
scopeOfType ( $query, $type )
sendMail ( )
sendNotice ( )
user ( )

Method Details

create() public static method

public static create ( array $options = [] )
$options array

createLog() public method

public createLog ( )

details() public method

public details ( )

freeproducts() public method

public freeproducts ( )

getDetailsAttribute() public method

public getDetailsAttribute ( )

getTranslatedStatusAttribute() public method

inDetail() public method

public inDetail ( )

placeOrders() public static method

Start the checkout process for any type of order.
public static placeOrders ( integer $type_order ) : app\Response
$type_order integer Type of order to be processed
return app\Response

save() public method

public save ( array $options = [] )
$options array

scopeOfDates() public method

public scopeOfDates ( $query, $from, $to = '' )

scopeOfStatus() public method

public scopeOfStatus ( $query, $status )

scopeOfType() public method

public scopeOfType ( $query, $type )

sendMail() public method

public sendMail ( )

sendNotice() public method

public sendNotice ( )

user() public method

public user ( )

Property Details

$appends protected_oe property

protected $appends

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
return array

$table protected_oe property

The database table used by the model.
protected string $table
return string