Table of Contents
-
$count
: int
-
$end
: int
-
$hideLeft
: bool
-
$hideRight
: bool
-
$limit
: int
-
$max
: int
-
$next
: bool
-
$page
: int
-
$params
: array<string|int, mixed>
-
$prev
: bool
-
$route
: string
-
$start
: int
-
__construct()
: mixed
-
end()
: int
-
hasLeftHidden()
: bool
-
hasRightHidden()
: bool
-
max()
: int
-
next()
: bool
-
page()
: int
-
params()
: array<string|int, mixed>
-
paramsForPage()
: array<string|int, mixed>
-
prev()
: bool
-
route()
: string
-
start()
: int
-
calculateStartAndEnd()
: void
$count
protected
int
$count
$end
protected
int
$end
$hideLeft
protected
bool
$hideLeft
$hideRight
protected
bool
$hideRight
$limit
protected
int
$limit
= 25
$max
protected
int
$max
$next
protected
bool
$next
$page
protected
int
$page
= 0
$params
protected
array<string|int, mixed>
$params
$prev
protected
bool
$prev
$route
protected
string
$route
$start
protected
int
$start
__construct()
public
__construct(string $route, array<string|int, mixed> $params, int $count[, int $pagerLimit = 7 ]) : mixed
Parameters
-
$route
: string
-
-
$params
: array<string|int, mixed>
-
-
$count
: int
-
-
$pagerLimit
: int
= 7
-
Return values
mixed
—
end()
public
end() : int
Return values
int
—
hasLeftHidden()
public
hasLeftHidden() : bool
Return values
bool
—
hasRightHidden()
public
hasRightHidden() : bool
Return values
bool
—
max()
public
max() : int
Return values
int
—
next()
public
next() : bool
Return values
bool
—
page()
public
page() : int
Return values
int
—
params()
public
params() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
paramsForPage()
public
paramsForPage(int $page) : array<string|int, mixed>
Parameters
-
$page
: int
-
Return values
array<string|int, mixed>
—
prev()
public
prev() : bool
Return values
bool
—
route()
public
route() : string
Return values
string
—
start()
public
start() : int
Return values
int
—
calculateStartAndEnd()
protected
calculateStartAndEnd(int $pagerLimit) : void
Parameters
-
$pagerLimit
: int
-
Return values
void
—