public function unregister($action) { if (isset($this->actions[$action])) { unset($this->actions[$action]); return true; } else { return false; } }