| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Application |
JController |
getTask |
getTask() |
Never | Work in Progress |
Get the last task that is or was to be performed.
This method returns the value that was stored by the execute method.
string getTask ()
Example
$controller->execute( JRequest::getVar('task')); echo $controller->getTask();
might produce
Result
edit
if the ControllerClass→edit method was invoked by the execute method.