original_string: function RenderNav()
  	{
  		ob_start();
  		if (!$this->rs->AtFirstPage()) {
  			$this->Render_First();
  			$this->Render_Prev();
  		} else {
  			$this->Render_First(false);
  			$this->Render_Prev(false);
  		}
          if ($this->showPageLinks){
              $this->Render_PageLinks();
          }
  		if (!$this->rs->AtLastPage()) {
  			$this->Render_Next();
  			$this->Render_Last();
  		} else {
  			$this->Render_Next(false);
  			$this->Render_Last(false);
  		}
  		$s = ob_get_contents();
  		ob_end_clean();
  		return $s;
  	}
code: function RenderNav()
  	{
  		ob_start();
  		if (!$this->rs->AtFirstPage()) {
  			$this->Render_First();
  			$this->Render_Prev();
  		} else {
  			$this->Render_First(false);
  			$this->Render_Prev(false);
  		}
          if ($this->showPageLinks){
              $this->Render_PageLinks();
          }
  		if (!$this->rs->AtLastPage()) {
  			$this->Render_Next();
  			$this->Render_Last();
  		} else {
  			$this->Render_Next(false);
  			$this->Render_Last(false);
  		}
  		$s = ob_get_contents();
  		ob_end_clean();
  		return $s;
  	}
code_tokens: function RenderNav ( ) { ob_start ( ) ; if ( ! $ this -> rs -> AtFirstPage ( ) ) { $ this -> Render_First ( ) ; $ this -> Render_Prev ( ) ; } else { $ this -> Render_First ( false ) ; $ this -> Render_Prev ( false ) ; } if ( $ this -> showPageLinks ) { $ this -> Render_PageLinks ( ) ; } if ( ! $ this -> rs -> AtLastPage ( ) ) { $ this -> Render_Next ( ) ; $ this -> Render_Last ( ) ; } else { $ this -> Render_Next ( false ) ; $ this -> Render_Last ( false ) ; } $ s = ob_get_contents ( ) ; ob_end_clean ( ) ; return $ s ; }
docstring: we use output buffering to keep the code easy to read.
docstring_tokens: we use output buffering to keep the code easy to read .