Свойство | Type | Description | |
---|---|---|---|
$fillable | array | The attributes that are mass assignable. | |
$products | |||
$table | string | The database table used by the model. |
Méthode | Description | |
---|---|---|
Orders ( ) : Illuminate\Database\Eloquent\Collection | Relationship for list of commands associated with freeproducts. This is done by table freeproduct_order. | |
getListWithPaginate ( $paginator, $status = null, $fields = ['*'] ) | ||
getNextEvents ( $fields, $limit, $date ) | ||
getWithProducts ( Illuminate\Database\Eloquent\Collection $items ) : freeproducts | Returns all products contained in the orders associated with a freeproduct. | |
scopeIsValidIn ( $query, $date ) | ||
scopeOfStatus ( $query, $status ) |
public Orders ( ) : Illuminate\Database\Eloquent\Collection | ||
Résultat | Illuminate\Database\Eloquent\Collection | List Ids Orders |
public static getListWithPaginate ( $paginator, $status = null, $fields = ['*'] ) |
public static getWithProducts ( Illuminate\Database\Eloquent\Collection $items ) : freeproducts | ||
$items | Illuminate\Database\Eloquent\Collection | |
Résultat | freeproducts | collection of all the products contained in the orders associated with freeproduct, but defined as a property of the model |
protected array $fillable | ||
Résultat | array |
protected string $table | ||
Résultat | string |