public function generateNav ($result)
        {
            /**
             * @global object $navComponentObject
             */

            if ($this->arParams['DISPLAY_BOTTOM_PAGER'] === 'Y' || $this->arParams['DISPLAY_TOP_PAGER'] === 'Y')
            {
                $this->arResult['NAV_STRING'] = $result->GetPageNavStringEx (
                    $navComponentObject,
                    $this->arParams['PAGER_TITLE'],
                    $this->arParams['PAGER_TEMPLATE'],
                    $this->arParams['PAGER_SHOW_ALWAYS']
                );
                $this->arResult['NAV_CACHED_DATA'] = $navComponentObject->GetTemplateCachedData ();
                $this->arResult['NAV_RESULT'] = $result;
            }
        }
public function generateNav ($result)
        {
            /**
             * @global object $navComponentObject
             */

            if ($this->arParams['DISPLAY_BOTTOM_PAGER'] === 'Y' || $this->arParams['DISPLAY_TOP_PAGER'] === 'Y')
            {
                $this->arResult['NAV_STRING'] = $result->GetPageNavStringEx (
                    $navComponentObject,
                    $this->arParams['PAGER_TITLE'],
                    $this->arParams['PAGER_TEMPLATE'],
                    $this->arParams['PAGER_SHOW_ALWAYS']
                );
                $this->arResult['NAV_CACHED_DATA'] = $navComponentObject->GetTemplateCachedData ();
                $this->arResult['NAV_RESULT'] = $result;
            }
        }
public function generateNav ( $ result ) { /**
             * @global object $navComponentObject
             */ if ( $ this -> arParams [ 'DISPLAY_BOTTOM_PAGER' ] === 'Y' || $ this -> arParams [ 'DISPLAY_TOP_PAGER' ] === 'Y' ) { $ this -> arResult [ 'NAV_STRING' ] = $ result -> GetPageNavStringEx ( $ navComponentObject , $ this -> arParams [ 'PAGER_TITLE' ] , $ this -> arParams [ 'PAGER_TEMPLATE' ] , $ this -> arParams [ 'PAGER_SHOW_ALWAYS' ] ) ; $ this -> arResult [ 'NAV_CACHED_DATA' ] = $ navComponentObject -> GetTemplateCachedData ( ) ; $ this -> arResult [ 'NAV_RESULT' ] = $ result ; } }
Generate navigation string

@param object $result \CIBlockResult
Generate navigation string