The getTask() gets the last task that is being performed or was most recently performed.
public function getTask()
{
return $this->task;
}
The getTasks() gets the available tasks in the controller.
return array - Array[i] of task names.
public function getTasks()
{
return $this->methods;
}