* * @param string $className Class name * * @return string */ protected function formatClassNameToString($className) { return str_replace('\\', '', $className); } /** * Get translated weight symbol * * @return string */ protected function getWeightSymbol() { return \XLite\Core\Translation::translateWeightSymbol(); } /** * Get translated dim symbol * * @return string */ protected function getDimSymbol() { return \XLite\Core\Translation::translateDimSymbol(); } } // Call static constructor \XLite\View\AViewAbstract::__constructStatic();
protected function getThemeFiles($adminZone = null) { $list = parent::getThemeFiles($adminZone); $list[static::RESOURCE_JS][] = 'modules/Amazon/PayWithAmazon/func.js'; return $list; }