code: function (page,silent) {
          if (this.hasPage(page) && page !== this.getCurrentPage()) {
              if (this.get('updateOnChange') || silent) {
                  this.set('recordOffset', (page - 1) * this.get('rowsPerPage'));
              } else {
                  this.fireEvent('changeRequest',this.getState({'page':page}));
              }
          }
      }
docs: Set the current page to the provided page number if possible.
  @method setPage
  @param newPage {number} the new page number
  @param silent {boolean} whether to forcibly avoid firing the
  changeRequest event