/** * Set the step passed in as the current step. * * @param MultiFormStep $step A subclass of MultiFormStep * @return boolean The return value of write() */ protected function setCurrentStep($step) { $this->session->CurrentStepID = $step->ID; $step->setForm($this); return $this->session->write(); }