Agile Toolkit  4.2
Agile Toolkit is a powerful web development framework. Inspired by GUI Applications development
View_Box Class Reference
Inheritance diagram for View_Box:
View AbstractView AbstractObject View_Error View_Hint View_Info View_Warning Hint

Public Member Functions

 set ($text)
 addClose ($state=true)
 addIcon ($i)
 render ()
 defaultTemplate ()

Data Fields

 $class = null
 $has_close = false

Member Function Documentation

addClose ( state = true)

View box can be closed by clicking on the cross

addIcon ( i)

By default box uses information Icon. You can use addIcon() to override or $this->del('Icon') to remove.

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

Reimplemented from View.

Reimplemented in View_Hint.

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.

set ( text)

Alias for setText. Escapes HTML characters.

Reimplemented from View.

Field Documentation

$class = null

Reimplemented in View_Info, View_Warning, and View_Error.

$has_close = false

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