Agile Toolkit  4.2
Agile Toolkit is a powerful web development framework. Inspired by GUI Applications development
Menu_Compat Class Reference
Inheritance diagram for Menu_Compat:
AbstractView AbstractObject

Public Member Functions

 init ()
 setController ($controller)
 defaultTemplate ()
 addMenuItem ($label, $href=null)
 isCurrent ($href)
 addSeparator ($template=null)

Data Fields

 $current_menu_class = "ui-state-active"
 $inactive_menu_class = "ui-state-default"

Protected Member Functions

 getDefaultHref ($label)

Protected Attributes

 $items = array()
 $last_item = null

Detailed Description

This is the description for the Class

Romans <>

Member Function Documentation

addMenuItem ( label,
href = null 
addSeparator ( template = null)

Redefine to return default template, when 4th argument of add() is omitted

Reimplemented from AbstractView.

getDefaultHref ( label) [protected]
init ( )

Initialize object. Always call parent

This method is called for initialization

Reimplemented from AbstractObject.

isCurrent ( href)
setController ( controller)

Reimplemented from AbstractObject.

Field Documentation

$current_menu_class = "ui-state-active"
$inactive_menu_class = "ui-state-default"
$items = array() [protected]
$last_item = null [protected]

The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations