Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

Abstract Class JDocumentRenderer

Description

Abstract class for a renderer

Located in /joomla/document/renderer.php (line 27)

Class JObject   (Subpackage Base)

Abstract class JDocumentRenderer   (Subpackage Document)
Direct descendents
Class Description
ClassJDocumentRenderer_Modules JDocument Modules renderer
ClassJDocumentRenderer_Component Component renderer
ClassJDocumentRenderer_Message JDocument system message renderer
ClassJDocumentRenderer_Module JDocument Module renderer
ClassJDocumentRenderer_Head JDocument head renderer
ClassJDocumentRenderer_RSS JDocumentRenderer_RSS is a feed that implements RSS 2.0 Specification
ClassJDocumentRenderer_Atom JDocumentRenderer_Atom is a feed that implements the atom specification
Variable Summary
Variable object $_doc
Method Summary
Constructor JDocumentRenderer __construct (object A &$doc)
Method string getContentType ()
Abstract method string render (string $name, [ $params = array()], [string $content = null], array $array)
Variables
object $_doc = null (line 35)

reference to the JDocument object that instantiated the renderer

  • access: protected
Methods
Constructor __construct (line 51)

Class constructor

  • access: protected
JDocumentRenderer __construct (object A &$doc)
  • object A &$doc: reference to the JDocument object that instantiated the renderer

Redefinition of:
JObject::__construct()
Class constructor, overridden in descendant classes.
getContentType (line 75)

Return the content type of the renderer

  • return: The contentType
string getContentType ()
render (line 65)

Renders a script and returns the results as a string

  • return: The output of the script
  • access: public
  • abstract:
string render (string $name, [ $params = array()], [string $content = null], array $array)
  • string $name: The name of the element to render
  • array $array: Array of values
  • string $content: Override the output of the renderer
  • $params

Redefined in descendants as:

Inherited Methods

Inherited From JObject

 JObject::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getPublicProperties()
 JObject::set()
 JObject::toString()

Documentation generated on Mon, 05 Mar 2007 21:20:08 +0000 by phpDocumentor 1.3.1