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

Public Member Functions

 addColumn ($width='auto')
 recursiveRender ()
 defaultTemplate ()

Data Fields

 $mode = 'auto'

Detailed Description

Implementation of jQuery UI Tabs

Use:

12-GS: $cols=$this->add('Columns'); $cols->addColumn(4)->add('LoremIpsum'); $cols->addColumn(6)->add('LoremIpsum');

Flexible $cols=$this->add('Columns'); $cols->addColumn('10')->add('LoremIpsum'); $cols->addColumn('90')->add('LoremIpsum');

Auto $cols=$this->add('Columns'); $cols->addColumn()->add('LoremIpsum'); $cols->addColumn()->add('LoremIpsum');

See http://agiletoolkit.org/about/license


Member Function Documentation

addColumn ( width = 'auto')

Adds new column to the set. Argument can be numeric for 12GS, percent for flexi design or omitted for equal columns

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

Reimplemented from View.

Recursively renders all views. Calls render() for all or for the one being cut. In some cases you may want to redefine this function instead of render(). The difference is that this function is called before sub-views are rendered, but render() is called after.

function recursiveRender(){ $this->add('Text')->set('test'); return parent::recursiveRender(); }

Reimplemented from AbstractView.


Field Documentation

$mode = 'auto'

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