/** * Check - step is success or not * * @return boolean */ protected function isStepSuccess() { return parent::isStepSuccess() && (0 == $this->getItems()->getOptions()->step || !$this->getItems()->hasErrors()); }
/** * Check - step is success or not * * @return boolean */ protected function isStepSuccess() { return parent::isStepSuccess() && !$this->getItems()->hasErrors(); }