PHP Класс Xpressengine\Category\Models\CategoryItem

Автор: XE Developers ([email protected])
Наследование: extends Xpressengine\Support\Tree\Node
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$timestamps boolean Indicates if the model should be timestamped.

Защищенные свойства (Protected)

Свойство Тип Описание
$closureTable string The pivot table associated with the model.
$fillable array The attributes that are mass assignable.
$table string The table associated with the model.

Открытые методы

Метод Описание
category ( ) : BelongsTo Alias aggregator
getAggregatorKeyName ( ) : string Get the aggregator key name for model
getAggregatorModel ( ) : string Get the aggregator model name for model
getAncestorName ( ) : string Get the ancestor key name of pivot table
getChildren ( ) : Illuminate\Database\Eloquent\Collection Get a children collection of model
getClosureTable ( ) : string Get the pivot table for model's hierarchy
getDepthName ( ) : string Get the depth key name of pivot table
getDescendantName ( ) : string Get the descendant key name of pivot table
getOrderKeyName ( ) : string Get the order key name for model
getParentIdName ( ) : string Get the parent key name for model

Описание методов

category() публичный Метод

Alias aggregator
public category ( ) : BelongsTo
Результат Illuminate\Database\Eloquent\Relations\BelongsTo

getAggregatorKeyName() публичный Метод

Get the aggregator key name for model
public getAggregatorKeyName ( ) : string
Результат string

getAggregatorModel() публичный Метод

Get the aggregator model name for model
public getAggregatorModel ( ) : string
Результат string

getAncestorName() публичный Метод

Get the ancestor key name of pivot table
public getAncestorName ( ) : string
Результат string

getChildren() публичный Метод

Get a children collection of model
public getChildren ( ) : Illuminate\Database\Eloquent\Collection
Результат Illuminate\Database\Eloquent\Collection

getClosureTable() публичный Метод

Get the pivot table for model's hierarchy
public getClosureTable ( ) : string
Результат string

getDepthName() публичный Метод

Get the depth key name of pivot table
public getDepthName ( ) : string
Результат string

getDescendantName() публичный Метод

Get the descendant key name of pivot table
public getDescendantName ( ) : string
Результат string

getOrderKeyName() публичный Метод

Get the order key name for model
public getOrderKeyName ( ) : string
Результат string

getParentIdName() публичный Метод

Get the parent key name for model
public getParentIdName ( ) : string
Результат string

Описание свойств

$closureTable защищенное свойство

The pivot table associated with the model.
protected string $closureTable
Результат string

$fillable защищенное свойство

The attributes that are mass assignable.
protected array $fillable
Результат array

$table защищенное свойство

The table associated with the model.
protected string $table
Результат string

$timestamps публичное свойство

Indicates if the model should be timestamped.
public bool $timestamps
Результат boolean