original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Get the target page.
  
  @return PageModel
docstring_tokens: Get the target page .