/**
  * {@inheritDoc}
  */
 public function getIdentityData()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getIdentityData', array());
     return parent::getIdentityData();
 }
示例#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();
 }