프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 ( ) : |
||
리턴 |
public bool $incrementing | ||
리턴 | boolean |
public bool $timestamps | ||
리턴 | boolean |