_sPage = 'categ_module'; $this->_sTitle = $sTitle ? $sTitle : _t('_categ_users'); $this->_sUrl = $sUrl; $this->_aParam = $aParam; parent::BxDolPageView($this->_sPage); } function getBlockCode_Common($iBlockId) { $oCateg = new BxBaseCategories(); $oCateg->getTagObjectConfig(); $aParam = array( 'type' => $this->_aParam['type'], 'common' => true ); return $oCateg->display($aParam, $iBlockId, '', true, 1, $this->_sUrl); } function getBlockCode_All($iBlockId) { $oCateg = new BxBaseCategories(); $oCateg->getTagObjectConfig(); $this->_aParam['common'] = false; return array( $oCateg->display($this->_aParam, $iBlockId, '', true, getParam('categ_show_columns'), $this->_sUrl), array(), array(), $this->_sTitle ); } }