Свойство | Тип | Описание | |
---|---|---|---|
$fillable | array | The attributes that are mass assignable. | |
$products | |||
$table | string | The database table used by the model. |
Метод | Описание | |
---|---|---|
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 | ||
Результат | 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 | |
Результат | freeproducts | collection of all the products contained in the orders associated with freeproduct, but defined as a property of the model |
protected array $fillable | ||
Результат | array |
protected string $table | ||
Результат | string |