english/libraries/joomla/application/application.php
/**
	 * 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
	 */
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.


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 .
public function render()
	{
		$params = array(
			'template'	=> $this->getTemplate(),
			'file'		=> 'index.php',
			'directory'	=> JPATH_THEMES,
			'params'	=> $template->params
		);
		$document = JFactory::getDocument();
		$document->parse($params);
		JPluginHelper::importPlugin('system');
		$this->triggerEvent('onBeforeRender');
		$caching = ($this->getCfg('caching') >= 2) ? true : false;
		JResponse::setBody($document->render($caching, $params));
		$this->triggerEvent('onAfterRender');
	}
public function render ( ) { $ params = array ( 'template' => $ this -> getTemplate ( ) , 'file' => 'index.php' , 'directory' => JPATH_THEMES , 'params' => $ template -> params ) ; $ document = JFactory :: getDocument ( ) ; $ document -> parse ( $ params ) ; JPluginHelper :: importPlugin ( 'system' ) ; $ this -> triggerEvent ( 'onBeforeRender' ) ; $ caching = ( $ this -> getCfg ( 'caching' ) >= 2 ) ? true : false ; JResponse :: setBody ( $ document -> render ( $ caching , $ params ) ) ; $ this -> triggerEvent ( 'onAfterRender' ) ; }
Render the application.
Render the application .
// Parse the document. // Trigger the onBeforeRender event. // Render the document. // Trigger the onAfterRender event.