PHP Class Xpressengine\Category\Models\CategoryItem

Author: XE Developers ([email protected])
Inheritance: extends Xpressengine\Support\Tree\Node
Afficher le fichier Open project: xpressengine/xpressengine Class Usage Examples

Méthodes publiques

Свойство Type Description
$timestamps boolean Indicates if the model should be timestamped.

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
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

Method Details

category() public méthode

Alias aggregator
public category ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

getAggregatorKeyName() public méthode

Get the aggregator key name for model
public getAggregatorKeyName ( ) : string
Résultat string

getAggregatorModel() public méthode

Get the aggregator model name for model
public getAggregatorModel ( ) : string
Résultat string

getAncestorName() public méthode

Get the ancestor key name of pivot table
public getAncestorName ( ) : string
Résultat string

getChildren() public méthode

Get a children collection of model
public getChildren ( ) : Illuminate\Database\Eloquent\Collection
Résultat Illuminate\Database\Eloquent\Collection

getClosureTable() public méthode

Get the pivot table for model's hierarchy
public getClosureTable ( ) : string
Résultat string

getDepthName() public méthode

Get the depth key name of pivot table
public getDepthName ( ) : string
Résultat string

getDescendantName() public méthode

Get the descendant key name of pivot table
public getDescendantName ( ) : string
Résultat string

getOrderKeyName() public méthode

Get the order key name for model
public getOrderKeyName ( ) : string
Résultat string

getParentIdName() public méthode

Get the parent key name for model
public getParentIdName ( ) : string
Résultat string

Property Details

$closureTable protected_oe property

The pivot table associated with the model.
protected string $closureTable
Résultat string

$fillable protected_oe property

The attributes that are mass assignable.
protected array $fillable
Résultat array

$table protected_oe property

The table associated with the model.
protected string $table
Résultat string

$timestamps public_oe property

Indicates if the model should be timestamped.
public bool $timestamps
Résultat boolean