function getBlockCode_Tags($iBlockID, $sContent) { bx_import('BxTemplTagsModule'); $aParam = array('type' => $this->oMain->_sPrefix, 'orderby' => 'popular'); $oTags = new BxTemplTagsModule($aParam, '', BX_DOL_URL_ROOT . $this->oConfig->getBaseUri() . 'tags'); $aResult = $oTags->getBlockCode_All($iBlockId); return $aResult[0]; }
function serviceTagsBlock($iBlockId) { $sUri = $this->_oConfig->getUri(); $oTags = new BxTemplTagsModule(array('type' => $this->_oConfig->getTagsSystemName(), 'orderby' => 'popular'), _t('_' . $sUri . '_bcaption_all_tags'), BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'tags'); $aResult = $oTags->getBlockCode_All($iBlockId); return $aResult[0]; }