original_string: public function limitPage($page, $rowCount)
      {
          $page     = ($page > 0)     ? $page     : 1;
          $rowCount = ($rowCount > 0) ? $rowCount : 1;
          $this->_parts[self::LIMIT_COUNT]  = (int) $rowCount;
          $this->_parts[self::LIMIT_OFFSET] = (int) $rowCount * ($page - 1);
          return $this;
      }
code: public function limitPage($page, $rowCount)
      {
          $page     = ($page > 0)     ? $page     : 1;
          $rowCount = ($rowCount > 0) ? $rowCount : 1;
          $this->_parts[self::LIMIT_COUNT]  = (int) $rowCount;
          $this->_parts[self::LIMIT_OFFSET] = (int) $rowCount * ($page - 1);
          return $this;
      }
code_tokens: public function limitPage ( $ page , $ rowCount ) { $ page = ( $ page > 0 ) ? $ page : 1 ; $ rowCount = ( $ rowCount > 0 ) ? $ rowCount : 1 ; $ this -> _parts [ self :: LIMIT_COUNT ] = ( int ) $ rowCount ; $ this -> _parts [ self :: LIMIT_OFFSET ] = ( int ) $ rowCount * ( $ page - 1 ) ; return $ this ; }
docstring: Sets the limit and count by page number.
  
  @param int $page Limit results to this page number.
  @param int $rowCount Use this many rows per page.
  @return Zend_Db_Select This Zend_Db_Select object.
docstring_tokens: Sets the limit and count by page number .