code/application/application.php
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');
	}
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');
	}
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' ) ; }
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
Render the application .