Свойство | Type | Description | |
---|---|---|---|
$timestamps | boolean | Indicates if the model should be timestamped. |
Свойство | Type | Description | |
---|---|---|---|
$fillable | array | The attributes that are mass assignable. | |
$itemModel | string | Category item model | |
$table | string | The table associated with the model. |
Méthode | Description | |
---|---|---|
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 | ||
Résultat | string |
public getItemModel ( ) : string | ||
Résultat | string |
public getProgenitors ( ) : Illuminate\Database\Eloquent\Collection | ||
Résultat | Illuminate\Database\Eloquent\Collection |
public static setItemModel ( string $model ) : void | ||
$model | string | model name |
Résultat | void |
protected array $fillable | ||
Résultat | array |
protected static string $itemModel | ||
Résultat | string |
protected string $table | ||
Résultat | string |
public bool $timestamps | ||
Résultat | boolean |