function __construct($oTemplate = false) { if (isset($GLOBALS['bxDolClasses'][get_class($this)])) { trigger_error('Multiple instances are not allowed for the class: ' . get_class($this), E_USER_ERROR); } parent::__construct($oTemplate ? $oTemplate : BxDolStudioTemplate::getInstance()); }
/** * Get HTML code for meta icons. * @return HTML string to insert into HEAD section */ function getMetaIcons() { $sResult = parent::getMetaIcons(); $sFavicon = $this->_oTemplate->getIconUrl('favicon.ico'); if (!empty($sFavicon)) { $sResult .= '<link rel="shortcut icon" type="image/x-icon" href="' . $sFavicon . '" />'; } return $sResult; }
function __construct($oTemplate = null) { parent::__construct($oTemplate); }
/** * class constructor */ function BxTemplFunctions() { parent::BxBaseFunctions(); }
/** * class constructor */ function __construct() { parent::__construct(); }
function genSiteSearch($sText = '') { $sContent = parent::genSiteSearch($sText); return $GLOBALS['oSysTemplate']->parseHtmlByContent($sContent, array('')); }