Свойство | Тип | Описание | |
---|---|---|---|
$incrementing | boolean | Indicates if the IDs are auto-incrementing. | |
$timestamps | boolean | Indicates if the model should be timestamped. |
Свойство | Тип | Описание | |
---|---|---|---|
$fillable | array | The attributes that are mass assignable. | |
$itemModel | string | Item model class | |
$table | string | The table associated with the model. |
Метод | Описание | |
---|---|---|
setItemSelected ( string $itemKey ) : void | Set selected to item has given key | |
site ( ) : |
Relation of site | |
toArray ( ) : array | Convert the model instance to an array. |
public setItemSelected ( string $itemKey ) : void | ||
$itemKey | string | item key |
Результат | void |
public site ( ) : |
||
Результат |
protected array $fillable | ||
Результат | array |
public bool $incrementing | ||
Результат | boolean |
protected static string $itemModel | ||
Результат | string |
protected string $table | ||
Результат | string |
public bool $timestamps | ||
Результат | boolean |