Method | Description | |
---|---|---|
__construct ( |
||
getPage ( $pageNumber ) : |
Returns a subset of commits ordered from newest to oldest. | |
getPrettySteps ( $currentPage ) : array | Returns a subset of pages useful for pagination. | |
isLastPage ( ) : boolean | Returns true if the last loaded page was the last one. | |
setCommitsPerPage ( integer $commitsPerPage ) | ||
setQuery ( string $query ) |
public __construct ( |
||
$repository |
public getPage ( $pageNumber ) : |
||
$pageNumber | ||
return |
public getPrettySteps ( $currentPage ) : array | ||
$currentPage | ||
return | array |
public isLastPage ( ) : boolean | ||
return | boolean |
public setCommitsPerPage ( integer $commitsPerPage ) | ||
$commitsPerPage | integer |