Static Public Member Functions | Static Protected Member Functions

ViewRenderer Class Reference

Static Public Member Functions

static render ($viewObj)
static buildTemplateAttributes ($viewObj)

Static Protected Member Functions

static renderSmarty ($viewObj, $tplAttributes=Array())
static renderPHP ($viewObj, $tplAttributes=Array())
static setHeaders ($viewObj)

Detailed Description

Definition at line 26 of file ViewRenderer.php.


Member Function Documentation

static buildTemplateAttributes ( viewObj ) [static]

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

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

Definition at line 52 of file ViewRenderer.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static render ( viewObj ) [static]

Render view object

Parameters:
EasyView$viewObj
Returns:
string result of rendering process

Definition at line 35 of file ViewRenderer.php.

Here is the call graph for this function:

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

Render PHP template for view object

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

Definition at line 143 of file ViewRenderer.php.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Render smarty template for view object

Parameters:
EasyView$viewObj
string$tplFile
Returns:
string result of rendering process

Definition at line 115 of file ViewRenderer.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static setHeaders ( viewObj ) [static, protected]

Set headers of view

Parameters:
EasyView$viewObj
Returns:
void

Definition at line 169 of file ViewRenderer.php.


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