**/
Class Pager {
/**
* Total number of int pages
**/
Protected $ pageTotal;
/**
* Int previous page
**/
Protected $ previous;
/**
* Int Next page
**/
Protected $ next;
/**
* Starting number of the int intermediate page
**/
Protected $ startPage;
/**
* Int intermediate page termination number
**/
Protected $ endPage;
/**
* Total number of int records
**/
Protected $ recorbTotal;
/**
* Int number of records per page
**/
Protected $ pageSize;
/**
* Int current display page
**/
Protected $ currentPage;
/**
* String base url
**/
Protected $ baseUri;
/**
* @ Returnstring get the base url address
*/
Public function getBaseUri (){
Return $ this-> baseUri;
}
/**
* @ Returnint get the current display page
*/
Public function getCurrentPage (){
Return $ this-> currentPage;
}
/**
* @ Returnint get the number of records displayed on each page
*/
Public function getPageSize (){
Return $ this-> pageSize;
}
/**
* @ Returnint get the total number of records
*/
Public function getRecorbTotal (){
Return $ this-> recorbTotal;
}
/**
* @ Paramstring $ baseUri: set the base url address
*/
Public function setBaseUri ($ baseUri ){
$ This-> baseUri = $ baseUri;
}
/**
* @ Paramint $ currentPage sets the current display page
*/
Public function setCurrentPage ($ currentPage ){
$ This-> currentPage = $ currentPage;
}
/**
* @ Paramint $ pageSize: set the number of records displayed on each page
*/
Public function setPageSize ($ pageSize ){
$ This-> pageSize = $ pageSize;
}
/**
* @ Paramint $ recorbTotal sets the total number of records to be retrieved.
*/
Public function setRecorbTotal ($ recorbTotal ){
$ This-> recorbTotal = $ recorbTotal;
}
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.