Ejemplo n.º 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());
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 function __construct($oTemplate = null)
 {
     parent::__construct($oTemplate);
 }
Ejemplo n.º 4
0
 /**
  * class constructor
  */
 function BxTemplFunctions()
 {
     parent::BxBaseFunctions();
 }
Ejemplo n.º 5
0
 /**
  * class constructor
  */
 function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 6
0
 function genSiteSearch($sText = '')
 {
     $sContent = parent::genSiteSearch($sText);
     return $GLOBALS['oSysTemplate']->parseHtmlByContent($sContent, array(''));
 }