Method | Description | |
---|---|---|
issetPagination ( ) : boolean | Return if the pagination is set | |
pagination ( integer $totalItems = null, integer $itemsPerPage = null, $navigationSize = null ) : Voodoo\Paginator | ||
setPagination ( integer $totalItems = null, integer $itemsPerPage = null, $navigationSize = null ) : Voodoo\Paginator | Pagination setter | |
setPaginationFromModel ( |
Pagination Setter to paginate from Voodoo\Core\Model object from Voodoo\VoodOrm It will assign the start and limit fof the pagination |
public issetPagination ( ) : boolean | ||
return | boolean |
public pagination ( integer $totalItems = null, integer $itemsPerPage = null, $navigationSize = null ) : Voodoo\Paginator | ||
$totalItems | integer | - Set the total items |
$itemsPerPage | integer | - Total items per page |
return | Voodoo\Paginator |
public setPagination ( integer $totalItems = null, integer $itemsPerPage = null, $navigationSize = null ) : Voodoo\Paginator | ||
$totalItems | integer | - Set the total items |
$itemsPerPage | integer | - Total items per page |
return | Voodoo\Paginator |
public setPaginationFromModel ( |
||
$model | ||
$itemsPerPage | type | |
$navigationSize | type | |
return | Voodoo\Paginator |