====== getTask ====== {#JAPI Joomla.Framework Application JController::getTask #} Get the last task that is or was to be performed. This method returns the value that was stored by the execute method. ===== Syntax ===== string getTask () ===== Examples ===== $controller->execute( JRequest::getVar('task')); echo $controller->getTask(); might produce edit if the ControllerClass->edit method was invoked by the execute method. ---- ~~DISCUSSION~~