public function getAction() { // no action specified? if ($this->action === null) { $this->setAction($this->config->getDefaultAction()); } // return action return $this->action; }