Пример #1
0
 /**
  * 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();
 }
Пример #2
0
 /**
  * Check - step is enabled (true) or skipped (false)
  *
  * @return boolean
  */
 public function isEnabled()
 {
     return parent::isEnabled() && ($this->isShippingEnabled() || $this->isPaymentEnabled());
 }
Пример #3
0
 /**
  * Check - step is enabled (true) or skipped (false)
  *
  * @return boolean
  */
 public function isEnabled()
 {
     return parent::isEnabled() && $this->isShippingEnabled();
 }