Agile Toolkit
4.2
Agile Toolkit is a powerful web development framework. Inspired by GUI Applications development
|
Public Member Functions | |
init () | |
defaultTemplate () | |
addMenuItem ($page, $label=null) | |
isCurrent ($href) | |
render () | |
Data Fields | |
$current_menu_class = "ui-state-active" | |
$inactive_menu_class = "ui-state-default" | |
Protected Member Functions | |
getDefaultHref ($label) | |
Protected Attributes | |
$items = array() | |
$class_tag = 'class' | |
$item_tag = 'MenuItem' | |
$container_tag = 'Item' | |
$last_item = null |
This is the description for the Class
addMenuItem | ( | $ | page, |
$ | label = null |
||
) |
defaultTemplate | ( | ) |
Redefine to return default template, when 4th argument of add() is omitted
Reimplemented from CompleteLister.
getDefaultHref | ( | $ | label | ) | [protected] |
init | ( | ) |
Initialize object. Always call parent
This method is called for initialization
Reimplemented from CompleteLister.
isCurrent | ( | $ | href | ) |
render | ( | ) |
Default render. Generates HTML presentation of the view based on $this->template and passes it to output() function which then inserts output into parent's template
For visual objects, their default action while rendering is rely on SMlite engine. For sake of simplicity and speed you can redefine this method with a simple call
Reimplemented from CompleteLister.
$class_tag = 'class' [protected] |
$container_tag = 'Item' [protected] |
Reimplemented from CompleteLister.
$current_menu_class = "ui-state-active" |
$inactive_menu_class = "ui-state-default" |
$item_tag = 'MenuItem' [protected] |
Reimplemented from CompleteLister.
$items = array() [protected] |
$last_item = null [protected] |