Static Public Member Functions | Static Protected Member Functions

FormRenderer Class Reference

Static Public Member Functions

static render ($formObj)
static buildTemplateAttributes ($formObj)

Static Protected Member Functions

static renderSmarty ($formObj, $tplAttributes=Array())
static renderPHP ($formObj, $tplAttributes=Array())

Detailed Description

Definition at line 26 of file FormRenderer.php.


Member Function Documentation

static buildTemplateAttributes ( formObj ) [static]

Gather all template variables needed. Should play well with Smarty or Zend templates

Parameters:
EasyView$formObj
Returns:
array associative array holding all needed VIEW based template variables

Definition at line 62 of file FormRenderer.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static render ( formObj ) [static]

Render form object

Parameters:
EasyForm$formObj
Returns:
string result of rendering process

Definition at line 35 of file FormRenderer.php.

Here is the call graph for this function:

static renderPHP ( formObj,
tplAttributes = Array() 
) [static, protected]

Render PHP template for form object

Parameters:
EasyForm$formObj
string$tplFile
Returns:
string result of rendering process

Definition at line 137 of file FormRenderer.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static renderSmarty ( formObj,
tplAttributes = Array() 
) [static, protected]

Render smarty template for form object

Parameters:
EasyForm$formObj
string$tplFile
Returns:
string result of rendering process

Definition at line 110 of file FormRenderer.php.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: