Ejemplo n.º 1
0
 /**
  * {@inheritDoc}
  */
 public function getEnabled()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', array());
     return parent::getEnabled();
 }
Ejemplo n.º 2
0
 /**
  * Get enabled. Should always be true for manual pin codes products
  *
  * @return boolean $enabled
  */
 public function getEnabled()
 {
     return $this->getProduct() && $this->getProduct()->hasManualPinCodes() || parent::getEnabled();
 }