original_string: public function render()
  	{
  		$template = $this->getTemplate(true);
  
  		$params = array('template' => $template->template, 'file' => 'index.php', 'directory' => JPATH_THEMES, 'params' => $template->params);
  
  		// Parse the document.
  		$document = JFactory::getDocument();
  		$document->parse($params);
  
  		// Trigger the onBeforeRender event.
  		JPluginHelper::importPlugin('system');
  		$this->triggerEvent('onBeforeRender');
  
  		// Render the document.
  		$caching = ($this->getCfg('caching') >= 2) ? true : false;
  		JResponse::setBody($document->render($caching, $params));
  
  		// Trigger the onAfterRender event.
  		$this->triggerEvent('onAfterRender');
  	}
code: public function render()
  	{
  		$template = $this->getTemplate(true);
  
  		$params = array('template' => $template->template, 'file' => 'index.php', 'directory' => JPATH_THEMES, 'params' => $template->params);
  
  		// Parse the document.
  		$document = JFactory::getDocument();
  		$document->parse($params);
  
  		// Trigger the onBeforeRender event.
  		JPluginHelper::importPlugin('system');
  		$this->triggerEvent('onBeforeRender');
  
  		// Render the document.
  		$caching = ($this->getCfg('caching') >= 2) ? true : false;
  		JResponse::setBody($document->render($caching, $params));
  
  		// Trigger the onAfterRender event.
  		$this->triggerEvent('onAfterRender');
  	}
code_tokens: public function render ( ) { $ template = $ this -> getTemplate ( true ) ; $ params = array ( 'template' => $ template -> template , 'file' => 'index.php' , 'directory' => JPATH_THEMES , 'params' => $ template -> params ) ; // Parse the document. $ document = JFactory :: getDocument ( ) ; $ document -> parse ( $ params ) ; // Trigger the onBeforeRender event. JPluginHelper :: importPlugin ( 'system' ) ; $ this -> triggerEvent ( 'onBeforeRender' ) ; // Render the document. $ caching = ( $ this -> getCfg ( 'caching' ) >= 2 ) ? true : false ; JResponse :: setBody ( $ document -> render ( $ caching , $ params ) ) ; // Trigger the onAfterRender event. $ this -> triggerEvent ( 'onAfterRender' ) ; }
docstring: Render the application.
  
  Rendering is the process of pushing the document buffers into the template
  placeholders, retrieving data from the document and pushing it into
  the JResponse buffer.
  
  @return  void
  
  @since   11.1
  @deprecated  4.0
docstring_tokens: Render the application .