public/javascripts/yui/paginator/paginator-debug.js
function (rpp,silent) {
        if (Paginator.isNumeric(rpp) && +rpp > 0 &&
            +rpp !== this.get('rowsPerPage')) {
            if (this.get('updateOnChange') || silent) {
                this.set('rowsPerPage',rpp);
            } else {
                this.fireEvent('changeRequest',
                    this.getState({'rowsPerPage':+rpp}));
            }
        }
    }
function (rpp,silent) {
        if (Paginator.isNumeric(rpp) && +rpp > 0 &&
            +rpp !== this.get('rowsPerPage')) {
            if (this.get('updateOnChange') || silent) {
                this.set('rowsPerPage',rpp);
            } else {
                this.fireEvent('changeRequest',
                    this.getState({'rowsPerPage':+rpp}));
            }
        }
    }
function ( rpp , silent ) { if ( Paginator . isNumeric ( rpp ) && + rpp > 0 && + rpp !== this . get ( 'rowsPerPage' ) ) { if ( this . get ( 'updateOnChange' ) || silent ) { this . set ( 'rowsPerPage' , rpp ) ; } else { this . fireEvent ( 'changeRequest' , this . getState ( { 'rowsPerPage' : + rpp } ) ) ; } } }
Set the number of rows per page.
@method setRowsPerPage
@param rpp {number} the new number of rows per page
@param silent {boolean} whether to forcibly avoid firing the
changeRequest event
Set the number of rows per page .