프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 getProgenitors ( ) : Illuminate\Database\Eloquent\Collection | ||
리턴 | Illuminate\Database\Eloquent\Collection |
public static setItemModel ( string $model ) : void | ||
$model | string | model name |
리턴 | void |
public bool $timestamps | ||
리턴 | boolean |