/** * Initialise controller */ public function init() { parent::init(); // If this agent cannot perform referencing then kick them to an error action if (true !== $this->_canPerformReferencing) { $this->_helper->redirector->gotoUrlAndExit('/iris-referencing/cannot-perform-referencing-error'); } $this->getFormFlow()->setCanAgentCompleteProspectiveLandlord($this->canAgentCompleteProspectiveLandlord()); $this->getFormFlow()->run(); }
/** * Initialise controller */ public function init() { parent::init(); $this->getFormFlow()->setCanAgentCompleteProspectiveLandlord($this->canAgentCompleteProspectiveLandlord()); $this->getFormFlow()->run(); }