public function __construct($aObject, $oTemplate) { parent::__construct($aObject); if ($oTemplate) { $this->_oTemplate = $oTemplate; } else { $this->_oTemplate = BxDolTemplate::getInstance(); } }
function __construct() { parent::__construct(); $this->bGroupInMore = true; $this->iElementsCntInLine = (int) getParam('nav_menu_elements_on_line_' . (isLogged() ? 'usr' : 'gst')); $this->sSiteUrl = BX_DOL_URL_ROOT; $this->iJumpedMenuID = 0; $this->sCustomSubIconUrl = ''; $this->sCustomSubHeader = ''; $this->sCustomSubHeaderUrl = ''; $this->sCustomActions = ''; $this->sBreadCrumb = ''; $this->bDebugMode = false; $this->sWidth = $GLOBALS['oSysTemplate']->getPageWidth(); }