Eccube\Entity\Product::isEnable PHP Method

isEnable() public method

Is Enable
public isEnable ( ) : boolean
return boolean
    public function isEnable()
    {
        return $this->getStatus()->getId() === \Eccube\Entity\Master\Disp::DISPLAY_SHOW ? true : false;
    }

Usage Example

コード例 #1
0
 /**
  * {@inheritDoc}
  */
 public function isEnable()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'isEnable', array());
     return parent::isEnable();
 }