/** * {@inheritDoc} */ public function getPublicIconURL() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPublicIconURL', array()); return parent::getPublicIconURL(); }
/** * Get module logo * * @param \XLite\Model\Module $module Module * * @return boolean */ protected function getImageURL($module) { $name = $module->getName(); $path = sprintf('automate_shipping_routine/images/%s_logo.png', strtolower($name)); return \XLite\Core\Layout::getInstance()->getResourceWebPath($path) ?: $module->getPublicIconURL(); }