english/libraries/joomla/application/application.php
/**
	 * Dispatch the applicaiton.
	 *
	 * Dispatching is the process of pulling the option from the request object and
	 * mapping them to a component. If the component does not exist, it handles
	 * determining a default component to dispatch.
	 *
	 * @param   string  $component	The component to dispatch.
	 *
	 * @return  void
	 * @since   11.1
	 */
Dispatch the applicaiton.
Dispatching is the process of pulling the option from the request object and
mapping them to a component. If the component does not exist, it handles
determining a default component to dispatch.

@param   string  $component  The component to dispatch.


Dispatch the applicaiton . Dispatching is the process of pulling the option from the request object and mapping them to a component . If the component does not exist it handles determining a default component to dispatch . @param string $component The component to dispatch .
public function dispatch($component = null)
	{
		$document = JFactory::getDocument();
		$document->setTitle($this->getCfg('sitename'). ' - ' .JText::_('JADMINISTRATION'));
		$document->setDescription($this->getCfg('MetaDesc'));
		$contents = JComponentHelper::renderComponent($component);
		$document->setBuffer($contents, 'component');
		JPluginHelper::importPlugin('system');
		$this->triggerEvent('onAfterDispatch');
	}
public function dispatch ( $ component = null ) { $ document = JFactory :: getDocument ( ) ; $ document -> setTitle ( $ this -> getCfg ( 'sitename' ) . ' - ' . JText :: _ ( 'JADMINISTRATION' ) ) ; $ document -> setDescription ( $ this -> getCfg ( 'MetaDesc' ) ) ; $ contents = JComponentHelper :: renderComponent ( $ component ) ; $ document -> setBuffer ( $ contents , 'component' ) ; JPluginHelper :: importPlugin ( 'system' ) ; $ this -> triggerEvent ( 'onAfterDispatch' ) ; }
Dispatch the applicaiton.
Dispatch the applicaiton .
// Trigger the onAfterDispatch event.