Property | Type | Description | |
---|---|---|---|
$incrementing | boolean | Indicates if the IDs are auto-incrementing. | |
$timestamps | boolean | Indicates if the model should be timestamped. |
Property | Type | Description | |
---|---|---|---|
$fillable | array | The attributes that are mass assignable. | |
$itemModel | string | Item model class | |
$table | string | The table associated with the model. |
Method | Description | |
---|---|---|
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 |
return | void |
public site ( ) : |
||
return |
protected array $fillable | ||
return | array |
public bool $incrementing | ||
return | boolean |
protected static string $itemModel | ||
return | string |
protected string $table | ||
return | string |
public bool $timestamps | ||
return | boolean |