PHP Class Xpressengine\Menu\Models\Menu

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

Méthodes publiques

Свойство Type Description
$incrementing boolean Indicates if the IDs are auto-incrementing.
$timestamps boolean Indicates if the model should be timestamped.

Protected Properties

Свойство Type Description
$fillable array The attributes that are mass assignable.
$itemModel string Item model class
$table string The table associated with the model.

Méthodes publiques

Méthode Description
setItemSelected ( string $itemKey ) : void Set selected to item has given key
site ( ) : BelongsTo Relation of site
toArray ( ) : array Convert the model instance to an array.

Method Details

setItemSelected() public méthode

Set selected to item has given key
public setItemSelected ( string $itemKey ) : void
$itemKey string item key
Résultat void

site() public méthode

Relation of site
public site ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

toArray() public méthode

Convert the model instance to an array.
public toArray ( ) : array
Résultat array

Property Details

$fillable protected_oe property

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

$incrementing public_oe property

Indicates if the IDs are auto-incrementing.
public bool $incrementing
Résultat boolean

$itemModel protected_oe static_oe property

Item model class
protected static string $itemModel
Résultat string

$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