/** * Initialize translate and html objects * * Called from {@link __construct()} as final step of object instantiation. * * @return void */ public function init() { parent::init(); // Tell the system where to return to after a survey has been taken $this->currentUser->setSurveyReturn($this->getRequest()); }
public function init() { parent::init(); $this->responseDir = GEMS_ROOT_DIR . '/var/uploads/openrosa/'; $this->formDir = $this->responseDir . 'forms/'; }