Exemplo n.º 1
0
 /**
  * Check if the module is installed
  *
  * @param \XLite\Model\Module $module Module
  *
  * @return boolean
  */
 protected function isInstalled(\XLite\Model\Module $module)
 {
     return $module->isInstalled();
 }
Exemplo n.º 2
0
 /**
  * {@inheritDoc}
  */
 public function isInstalled()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'isInstalled', array());
     return parent::isInstalled();
 }
Exemplo n.º 3
0
 /**
  * Check if core requires new (but the same as core major) version of module
  *
  * @param \XLite\Model\Module $module Module to check
  *
  * @return boolean
  */
 protected function isModuleUpdateAvailable(\XLite\Model\Module $module)
 {
     return $module->isInstalled() && $this->isModuleCompatible($module) && $this->getModuleForUpdate($module);
 }