A
[ class tree: A ] [ index: A ] [ all elements ]

Class: A_Renderable

Source Location: /Renderable.php

Interface Overview


A_Renderable


Methods



Class Details

[line 15]
A_Renderable

Interface representing a renderable object.




[ Top ]


Class Methods


method hasRenderer [line 47]

bool hasRenderer( )

Indicate whether or not this Renderable has been given a Renderer.



Tags:

return:  True if has a renderer, false otherwise
access:  public


[ Top ]

method render [line 24]

string render( )

Render this object. Call when program is ready to convert object to a string. Usually calls the render() method of the A_Renderer kept internally.



Tags:

return:  Rendered result
see:  A_Renderer
access:  public


[ Top ]

method setRenderer [line 40]

$this setRenderer( A_Renderer $renderer)

Sets the internal A_Renderer object to use.



Tags:

return:  Should return self for fluency.
access:  public


Parameters:

A_Renderer   $renderer  

[ Top ]

method __toString [line 32]

string __toString( )

Magic method so that object is automatically rendered when used in a string context. Should call render().



Tags:

return:  Rendered result
see:  A_Renderable::render()
access:  public


[ Top ]


Documentation generated on Sun, 24 Jul 2011 00:03:36 +0000 by phpDocumentor 1.4.3