/** * Check - specified step is current or not * * @param \XLite\View\Checkout\Step\AStep $step Step * * @return boolean */ public function isEnabledStep(\XLite\View\Checkout\Step\AStep $step) { return $step->isEnabled(); }
/** * Check - step is enabled (true) or skipped (false) * * @return boolean */ public function isEnabled() { return parent::isEnabled() && ($this->isShippingEnabled() || $this->isPaymentEnabled()); }
/** * Check - step is enabled (true) or skipped (false) * * @return boolean */ public function isEnabled() { return parent::isEnabled() && $this->isShippingEnabled(); }