Свойство | Тип | Описание | |
---|---|---|---|
$timestamps | boolean | Indicates if the model should be timestamped. |
Свойство | Тип | Описание | |
---|---|---|---|
$fillable | array | The attributes that are mass assignable. | |
$itemModel | string | Category item model | |
$table | string | The table associated with the model. |
Метод | Описание | |
---|---|---|
getCountName ( ) : string | Get the count name for model | |
getItemModel ( ) : string | Get the category item model | |
getProgenitors ( ) : Illuminate\Database\Eloquent\Collection | Get category items of root level | |
setItemModel ( string $model ) : void | Set the category item model |
public getCountName ( ) : string | ||
Результат | string |
public getItemModel ( ) : string | ||
Результат | string |
public getProgenitors ( ) : Illuminate\Database\Eloquent\Collection | ||
Результат | Illuminate\Database\Eloquent\Collection |
public static setItemModel ( string $model ) : void | ||
$model | string | model name |
Результат | void |
protected array $fillable | ||
Результат | array |
protected static string $itemModel | ||
Результат | string |
protected string $table | ||
Результат | string |
public bool $timestamps | ||
Результат | boolean |