API15:JApplication/dispatch/ja
出典: Joomla! ドキュメンテーション
目次 |
Description
Dispatch the applicaiton.
Syntax
dispatch($component)
| Parameter Name | Default Value | Description |
|---|---|---|
| $component |
Defined in
libraries/joomla/application/application.php
Importing
jimport( 'joomla.application.application' );
Source Body
function dispatch($component) { $document =& JFactory::getDocument(); $document->setTitle( $this->getCfg('sitename' ). ' - ' .JText::_( 'Administration' )); $document->setDescription( $this->getCfg('MetaDesc') ); $contents = JComponentHelper::renderComponent($component); $document->setBuffer($contents, 'component'); }
Examples
<CodeExamplesForm />
