PHP Class Laraveldaily\Quickadmin\Models\Menu

Inheritance: extends Illuminate\Database\Eloquent\Model
Show file Open project: laraveldaily/quickadmin Class Usage Examples

Public Properties

Property Type Description
$relation_ids

Protected Properties

Property Type Description
$fillable

Public Methods

Method Description
availableForRole ( $role )
children ( ) : mixed Get children links
roles ( )
setNameAttribute ( $input ) Convert name to ucfirst() and camelCase

Method Details

availableForRole() public method

public availableForRole ( $role )

children() public method

Get children links
public children ( ) : mixed
return mixed

roles() public method

public roles ( )

setNameAttribute() public method

Convert name to ucfirst() and camelCase
public setNameAttribute ( $input )
$input

Property Details

$fillable protected property

protected $fillable

$relation_ids public property

public $relation_ids