API17:JController::execute
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JController::execute
Description
Execute a task by triggering a method in the derived class.
Description:JController::execute [Edit Descripton]
Since
Synopsis
public JController::execute ($task)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $task | string | The task to perform. If no matching task is found, the '__default' task is executed, if defined. |
Returns
mixed|false The value returned by the called method, false in error case.
Defined in
libraries/joomla/application/component/controller.php (line 643)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
