====== render ====== {#JAPI Joomla.Framework Document JDocumentRenderer::render #} Renders a script and returns the results as a string. This is an abstract method and must be implemented in the child class. ===== Syntax ===== string render ( **$name**, **$params**, **$content**, **$array** ) | **$name** | string | is a string containing the name of the element to render. This parameter is not used in the abstract method. | | **$params** | array | is an associative array of parameters. These are not used in the abstract method. | | **$content** | string | is a string used to override the output of the renderer. This parameter is not used in the abstract method. | | **$array** | array | is an array that may be implemented in child methods. | ===== Examples ===== $document =& JFactory::getDocument(); jimport( 'joomla.document.renderer' ); jimport( 'joomla.document.html.renderer.head' ); $renderer = new JDocumentRendererHead( $document ); //echo $renderer->getContentType(); echo $renderer->render(); might produce: Joomla! 1.5 Testing - Administration ---- ~~DISCUSSION~~