/**
  * {@inheritDoc}
  */
 public function getDependentModules()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDependentModules', array());
     return parent::getDependentModules();
 }
Esempio n. 2
0
 /**
  * Check if the module can be disabled
  *
  * @param \XLite\Model\Module $module Module
  *
  * @return boolean
  */
 protected function canDisable(\XLite\Model\Module $module)
 {
     return !(bool) $module->getDependentModules();
 }