private function getTestPassingAction() { if ($this->wp->getQuery()->get('wpt_passing_slug')) { return self::ACTION_GET_RESULTS; } $this->passing = new WpTesting_Model_Passing(); $this->passing->setWp($this->wp); if ($this->isPost()) { $this->passing->populate($this->test); if (self::ACTION_PROCESS_FORM == $this->getRequestValue('passer_action')) { return self::ACTION_PROCESS_FORM; } } return self::ACTION_FILL_FORM; }