예제 #1
0
 /**
  * {@inheritDoc}
  */
 public function isAvailable()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'isAvailable', array());
     return parent::isAvailable();
 }
예제 #2
0
 /**
  * Check if the module is part of X-Cart 5 license
  *
  * @param \XLite\Model\Module $module Module entity
  *
  * @return boolean
  */
 protected function isXCN(\XLite\Model\Module $module)
 {
     return $module->isAvailable() && \XLite\Model\Module::NOT_XCN_MODULE < intval($module->getXcnPlan());
 }