AnewtRenderer Class Reference

Base Renderer class. More...

List of all members.

Public Member Functions

 render ()
 Render to a string.


Detailed Description

Base Renderer class.

This class is a base renderer which should be extended to match your own needs. The default render() method dispatches the actual rendering to your own custom functions.

Definition at line 18 of file renderer.lib.php.


Member Function Documentation

AnewtRenderer::render (  ) 

Render to a string.

This method queries the render-mode property and uses that string to call another method to do the actual rendering. The name of the real rendering method is formed by prepending render_ to the value of the render-mode property. Example: if the render-mode property is set to list, this method calls the render_list method. If the render-mode property is not set, the method render_default() is used as the default fallback.

Returns:
A string or object, e.g. a AnewtXMLDomNode, intended to be displayed by calling to_string().

Reimplemented in AnewtGridRenderer.

Definition at line 36 of file renderer.lib.php.


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

Generated on Sun Aug 2 22:54:38 2009 for Anewt by  doxygen 1.5.9