onPHP

SimplePhpView Class Reference

 

SimplePhpView Class Reference
[Spring-like webflow tools]

Inheritance diagram for SimplePhpView:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 __construct ($templatePath, ViewResolver $partViewResolver)
 render ($model=null)
 
Parameters:
$model null or Model

 toString ($model=null)

Protected Attributes

 $templatePath = null
 $partViewResolver = null

Detailed Description

Definition at line 16 of file SimplePhpView.class.php.


Constructor & Destructor Documentation

SimplePhpView::__construct ( templatePath,
ViewResolver partViewResolver 
)

Definition at line 21 of file SimplePhpView.class.php.

References $partViewResolver, and $templatePath.


Member Function Documentation

SimplePhpView::render ( model = null  ) 

Parameters:
$model null or Model

Implements View.

Definition at line 27 of file SimplePhpView.class.php.

References Assert::isTrue().

Referenced by toString().

Here is the call graph for this function:

SimplePhpView::toString ( model = null  ) 

Definition at line 39 of file SimplePhpView.class.php.

References render().

Here is the call graph for this function:


Member Data Documentation

SimplePhpView::$templatePath = null [protected]

Definition at line 18 of file SimplePhpView.class.php.

Referenced by __construct().

SimplePhpView::$partViewResolver = null [protected]

Definition at line 19 of file SimplePhpView.class.php.

Referenced by __construct().


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

generated by doxygen-1.5.1
for onPHP at Sat Jun 2 18:40:30 2007