Base Controller

This method unregisters or unmaps a task in the class.

  • param string $task - The task
  • return \JControllerLegacy - This object to support chaining.
public function unregisterTask($task)
{
unset($this->taskMap[strtolower($task)]);

return $this;
}