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

Class: A_Renderer

Source Location: /Renderer.php

Interface Overview


A_Renderer


Methods



Class Details

[line 15]
A_Renderer

Interface representing an object capable of rendering data.




[ Top ]


Class Methods


method get [line 41]

mixed get( string $key)

Get internal data at index



Tags:

return:  Value stored under $key
access:  public


Parameters:

string   $key  

[ Top ]

method import [line 49]

$this import( array $data)

Merge an array of data with the data already stored internally



Tags:

return:  Should return self for fluency
access:  public


Parameters:

array   $data  

[ Top ]

method render [line 24]

string render( )

Render the data in this Renderer. Called by a containing Renderable.



Tags:

return:  Rendered result
see:  A_Renderer
access:  public


[ Top ]

method set [line 33]

$this set( string $key, mixed $value)

Set internal data to be rendered



Tags:

return:  Should return self for fluency
access:  public


Parameters:

string   $key   Key of the data
mixed   $value   Value to be stored under $key

[ Top ]

method __toString [line 56]

string __toString( )

Magic method to automatically render when used in a string context



Tags:

access:  public


[ Top ]


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