/** * So called "static constructor". * NOTE: do not call the "parent::__constructStatic()" explicitly: it will be called automatically * * @return void */ public static function __constructStatic() { foreach (static::getResourcesSchema() as $data) { list(, $index, ) = $data; static::$resources[$index] = static::getResourcesTypeSchema(); } static::$profilerInfo = array('isEnabled' => \XLite\Core\Profiler::isTemplatesProfilingEnabled(), 'markTemplates' => (bool) \XLite::getInstance()->getOptions(array('debug', 'mark_templates')), 'countDeep' => 0, 'countLevel' => 0, 'tail' => array()); }
/** * So called "static constructor". * NOTE: do not call the "parent::__constructStatic()" explicitly: it will be called automatically * * @return void */ public static function __constructStatic() { parent::__constructStatic(); static::$profilerInfo = array('isEnabled' => \XLite\Module\XC\WebmasterKit\Core\Profiler::isTemplatesProfilingEnabled(), 'markTemplates' => \XLite\Module\XC\WebmasterKit\Core\Profiler::markTemplatesEnabled(), 'countDeep' => 0, 'countLevel' => 0); }