PHP Class app\Order

Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: ant-vel/antVel Class Usage Examples

Protected Properties

Свойство Type Description
$appends
$fillable array The attributes that are mass assignable.
$table string The database table used by the model.

Méthodes publiques

Méthode 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 méthode

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

createLog() public méthode

public createLog ( )

details() public méthode

public details ( )

freeproducts() public méthode

public freeproducts ( )

getDetailsAttribute() public méthode

public getDetailsAttribute ( )

getTranslatedStatusAttribute() public méthode

inDetail() public méthode

public inDetail ( )

placeOrders() public static méthode

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
Résultat app\Response

save() public méthode

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

scopeOfDates() public méthode

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

scopeOfStatus() public méthode

public scopeOfStatus ( $query, $status )

scopeOfType() public méthode

public scopeOfType ( $query, $type )

sendMail() public méthode

public sendMail ( )

sendNotice() public méthode

public sendNotice ( )

user() public méthode

public user ( )

Property Details

$appends protected_oe property

protected $appends

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
Résultat array

$table protected_oe property

The database table used by the model.
protected string $table
Résultat string