Пример #1
0
 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());
 }
Пример #2
0
 /**
  * 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;
 }
Пример #3
0
 function __construct($oTemplate = null)
 {
     parent::__construct($oTemplate);
 }
Пример #4
0
 /**
  * class constructor
  */
 function BxTemplFunctions()
 {
     parent::BxBaseFunctions();
 }
Пример #5
0
 /**
  * class constructor
  */
 function __construct()
 {
     parent::__construct();
 }
Пример #6
0
 function genSiteSearch($sText = '')
 {
     $sContent = parent::genSiteSearch($sText);
     return $GLOBALS['oSysTemplate']->parseHtmlByContent($sContent, array(''));
 }