PHP Class Menu_Compat, atk4

Inheritance: extends AbstractView
Afficher le fichier Open project: atk4/atk4

Méthodes publiques

Свойство Type Description
$app App_Web
$current_menu_class
$inactive_menu_class
$owner View

Protected Properties

Свойство Type Description
$items
$last_item

Méthodes publiques

Méthode Description
addMenuItem ( $label, $href = null )
addSeparator ( $template = null ) *function insertMenuItem($index,$label,$href=null){ $tail=array_slice($this->data,$index); $this->data=array_slice($this->data,0,$index); $this->addMenuItem($label,$href); $this->data=array_merge($this->data,$tail); return $this; }
defaultTemplate ( )
init ( ) }}}
isCurrent ( $href )
setController ( $controller )

Méthodes protégées

Méthode Description
getDefaultHref ( $label )

Method Details

addMenuItem() public méthode

public addMenuItem ( $label, $href = null )

addSeparator() public méthode

*function insertMenuItem($index,$label,$href=null){ $tail=array_slice($this->data,$index); $this->data=array_slice($this->data,0,$index); $this->addMenuItem($label,$href); $this->data=array_merge($this->data,$tail); return $this; }
public addSeparator ( $template = null )

defaultTemplate() public méthode

public defaultTemplate ( )

getDefaultHref() protected méthode

protected getDefaultHref ( $label )

init() public méthode

}}}
public init ( )

isCurrent() public méthode

public isCurrent ( $href )

setController() public méthode

public setController ( $controller )

Property Details

$app public_oe property

public App_Web $app
Résultat App_Web

$current_menu_class public_oe property

public $current_menu_class

$inactive_menu_class public_oe property

public $inactive_menu_class

$items protected_oe property

protected $items

$last_item protected_oe property

protected $last_item

$owner public_oe property

public View $owner
Résultat View