PHP Interface ManaPHP\PaginatorInterface

Show file Open project: manaphp/manaphp

Public Methods

Method Description
paginate ( integer $count, integer $page, integer $size ) : static
renderAsArray ( false | string $itemsName = 'items' ) : array
renderAsHtml ( string $urlTemplate = null ) : string

Method Details

paginate() public method

public paginate ( integer $count, integer $page, integer $size ) : static
$count integer
$page integer
$size integer
return static

renderAsArray() public method

public renderAsArray ( false | string $itemsName = 'items' ) : array
$itemsName false | string
return array

renderAsHtml() public method

public renderAsHtml ( string $urlTemplate = null ) : string
$urlTemplate string
return string