protected function getTargetPage()
    {
        static $page;

        if (null === $page) {
            if ($this->jumpTo > 0
                && (int) $GLOBALS['objPage']->id !== (int) $this->jumpTo
                && null !== ($target = PageModel::findPublishedById($this->jumpTo))
            ) {
                $page = $target;
            } else {
                $page = $GLOBALS['objPage'];
            }
        }

        return $page;
    }
protected function getTargetPage()
    {
        static $page;

        if (null === $page) {
            if ($this->jumpTo > 0
                && (int) $GLOBALS['objPage']->id !== (int) $this->jumpTo
                && null !== ($target = PageModel::findPublishedById($this->jumpTo))
            ) {
                $page = $target;
            } else {
                $page = $GLOBALS['objPage'];
            }
        }

        return $page;
    }
protected function getTargetPage ( ) { static $ page ; if ( null === $ page ) { if ( $ this -> jumpTo > 0 && ( int ) $ GLOBALS [ 'objPage' ] -> id !== ( int ) $ this -> jumpTo && null !== ( $ target = PageModel :: findPublishedById ( $ this -> jumpTo ) ) ) { $ page = $ target ; } else { $ page = $ GLOBALS [ 'objPage' ] ; } } return $ page ; }
Get the target page.

@return PageModel
Get the target page .