Exemplo n.º 1
0
 /**
  * {@inheritDoc}
  */
 public function getIdentityData()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdentityData', array());
     return parent::getIdentityData();
 }
Exemplo n.º 2
0
 /**
  * Prepare and return module identity data
  *
  * @param \XLite\Model\Module $module          Module to get info
  * @param boolean             $fromMarketplace Flag
  *
  * @return array
  */
 protected function getPreparedModuleInfo(\XLite\Model\Module $module, $fromMarketplace)
 {
     // :WARNING: do not change the summands order:
     // it's important for the "updateDBRecords()" method
     return array('fromMarketplace' => $fromMarketplace) + $module->getIdentityData();
 }