references:joomla.framework:application:jcontroller-gettaskgetTask
Get the last task that is or was to be performed. This method returns the value that was stored by the execute method. Syntaxstring getTask () ExamplesExample $controller->execute( JRequest::getVar('task')); echo $controller->getTask(); might produce Result edit if the ControllerClass→edit method was invoked by the execute method. |


