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

Public Member Functions

 init ()
 setProperty ($key, $val=null)
 render ()
 defaultTemplate ()

Protected Attributes

 $properties = array()

Member Function Documentation

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

Reimplemented from AbstractView.

init ( )

Initialize object. Always call parent

This method is called for initialization

Reimplemented from AbstractObject.

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 AbstractView.

setProperty ( key,
val = null 
)

Field Documentation

$properties = array() [protected]

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