public function getPageUrl($sPageCode = 'promo-block')
    {
        //Get URL params
        $arParamList = $this->getPageParamList($sPageCode);

        //Generate page URL
        $sURL = CmsPage::url($sPageCode, $arParamList);

        return $sURL;
    }
public function getPageUrl($sPageCode = 'promo-block')
    {
        //Get URL params
        $arParamList = $this->getPageParamList($sPageCode);

        //Generate page URL
        $sURL = CmsPage::url($sPageCode, $arParamList);

        return $sURL;
    }
public function getPageUrl ( $ sPageCode = 'promo-block' ) { //Get URL params $ arParamList = $ this -> getPageParamList ( $ sPageCode ) ; //Generate page URL $ sURL = CmsPage :: url ( $ sPageCode , $ arParamList ) ; return $ sURL ; }
Returns URL of a promo block page.

@param string $sPageCode

@return string
Returns URL of a promo block page .