PHP Class Menu_Advanced, atk4

Inheritance: extends View
Mostra file Open project: atk4/atk4 Class Usage Examples

Public Properties

Property Type Description
$app App_Web
$highlight_subpages
$hover_swatch
$owner View
$swatch

Public Methods

Method Description
addItem ( $title, $action = null, $class = 'Menu_Advanced_Item' )
addLabel ( $label )
addMenu ( $title, $class = null, $options = [] )
addMenuItem ( $page, $label = null ) compatibility
addSeparator ( $class = 'Menu_Advanced_Separator' )
addTitle ( $title, $class = 'Menu_Advanced_Title' ) Adds a title to your menu.
setModel ( $m, $options = [] )

Method Details

addItem() public method

public addItem ( $title, $action = null, $class = 'Menu_Advanced_Item' )

addLabel() public method

public addLabel ( $label )

addMenu() public method

public addMenu ( $title, $class = null, $options = [] )

addMenuItem() public method

compatibility
public addMenuItem ( $page, $label = null )

addSeparator() public method

public addSeparator ( $class = 'Menu_Advanced_Separator' )

addTitle() public method

Adds a title to your menu.
public addTitle ( $title, $class = 'Menu_Advanced_Title' )

setModel() public method

public setModel ( $m, $options = [] )

Property Details

$app public_oe property

public App_Web $app
return App_Web

$highlight_subpages public_oe property

public $highlight_subpages

$hover_swatch public_oe property

public $hover_swatch

$owner public_oe property

public View $owner
return View

$swatch public_oe property

public $swatch