Backend\Classes\MainMenuItem

Extends
Implements
  • Illuminate\Contracts\Support\Arrayable
  • ArrayAccess
  • Illuminate\Contracts\Support\Jsonable
  • JsonSerializable

Public Properties

There are no public properties in the class.

Show inherited public properties

Inherited Public Properties

Protected Properties

There are no protected properties in the class.

Show inherited protected properties

Inherited Protected Properties


Public Methods

public addPermission()

public addPermission(string $permission, array $definition): void

public addSideMenuItem()

public addSideMenuItem(SideMenuItem $sideMenu): void

public getSideMenuItem()

public getSideMenuItem($code): Backend\Classes\SideMenuItem|null 

public itemAttributes()

public itemAttributes(): string 

itemAttributes returns HTML attributes for the list item

public linkAttributes()

public linkAttributes(): string 

linkAttributes returns HTML for the anchor link

public removeSideMenuItem()

public removeSideMenuItem(string $code): void

Show inherited public methods

Inherited Public Methods

Protected Methods

protected initDefaultValues()

protected initDefaultValues(): void

initDefaultValues for this scope

Show inherited protected methods

Inherited Protected Methods