| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Application |
JApplication |
execute |
execute() |
Never | Work in Progress |
Executes the application. This is an abstract method that is used to execute the current application. This method is implemented in the JSite and JAdministrator classes and performs the necessary operations to render the output. In most cases, this method does not need to be invoked as it is called by the Joomla! entry points.
void execute ( $option )
| $option | string | is a string containing the option parameter, which is the component that is to be displayed. This value currently has no real effect in either the site or administrator applications. |
The site index.php calls this method in the following way:
Example
$mainframe->execute( $option );