Panda_View_HTML Class Reference

Inheritance diagram for Panda_View_HTML:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 setTemplate ($template)
 setPartial ($partial, $target)
 unsetPartial ($partial)
 render ()

Protected Member Functions

 parse ($file)
 load ($source, $target)

Protected Attributes

 $document
 $template
 $partials


Detailed Description

Definition at line 23 of file HTML.php.


Member Function Documentation

Panda_View_HTML::setTemplate ( template  ) 

Sets a template document

Parameters:
string $template

Definition at line 52 of file HTML.php.

References $template.

Panda_View_HTML::setPartial ( partial,
target 
)

Sets a partial document

Parameters:
string $partial A path to the partial document
string $target The target XPath

Definition at line 65 of file HTML.php.

Panda_View_HTML::unsetPartial ( partial  ) 

Removes a partial document

Parameters:
string $partial

Definition at line 77 of file HTML.php.

Panda_View_HTML::parse ( file  )  [protected]

Returns a file which has been parsed by PHP

Parameters:
string $file The path and file name of the file to parse
Returns:
string The parsed file

Definition at line 90 of file HTML.php.

Referenced by load(), and render().

Panda_View_HTML::load ( source,
target 
) [protected]

Loads a partial into the template

Parameters:
string $source The path and file name to the partial
string $target The target XPath to place the partial in

Definition at line 112 of file HTML.php.

References parse().

Referenced by render().

Panda_View_HTML::render (  ) 

Renders the HTML document

Implements Panda_View_Interface.

Definition at line 130 of file HTML.php.

References load(), Panda_View_Abstract::output(), and parse().


Member Data Documentation

Panda_View_HTML::$document [protected]

Definition at line 31 of file HTML.php.

Panda_View_HTML::$template [protected]

Definition at line 38 of file HTML.php.

Referenced by setTemplate().

Panda_View_HTML::$partials [protected]

Definition at line 45 of file HTML.php.


The documentation for this class was generated from the following file:
Generated on Thu Sep 4 01:56:50 2008 for Panda PHP Components by  doxygen 1.5.4