/** * Given an CRM Form, jump to the next page. * * @param CRM_Core_Page $page * * @return mixed * Does a jump to the nextstate */ public function handleNextState(&$page) { if ($this->_type & self::FINISH) { $page->handle('process'); } else { $next =& $page->controller->getPage($this->_next); return $next->handle('jump'); } }