Sledgehammer Framework

Pagination extends Base
in package
implements Component, Import

<< 1 2 3 [4] 5 6 7 8 9 10 ... 42 >>.

Interfaces, Classes, Traits and Enums

Component
Interface for the components, the V in MVC.
Import
Iterface for importing request data.

Table of Contents

$align  : string
$count  : int
Number of pages.
$current  : int
The current page.
$href  : string
$max  : mixed
$parameter  : mixed
__call()  : mixed
Report that the $method doesn't exist.
__callStatic()  : mixed
Report that the $method doesn't exist.
__construct()  : mixed
__get()  : mixed
Report that $property doesn't exist.
__set()  : mixed
Report that $property doesn't exist and set the property to the given $value.
__toString()  : string
The object is used as an string.
getValue()  : mixed
Get the current value.
import()  : mixed
Import the new value based on the request and return the current value;.
render()  : mixed
Render the view to the client (echo statements).
setValue()  : mixed
Set the (default) value.

Properties

$align

public string $align = 'left'

Alignent "left", "center", "right"

Methods

__call()

Report that the $method doesn't exist.

public __call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : string
$arguments : array<string|int, mixed>
Return values
mixed

__callStatic()

Report that the $method doesn't exist.

public static __callStatic(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : string
$arguments : array<string|int, mixed>
Return values
mixed

__construct()

public __construct(int $count[, int $current = 1 ][, array<string|int, mixed> $options = [] ]) : mixed
Parameters
$count : int

Number of pages

$current : int = 1

Current page

$options : array<string|int, mixed> = []

[optional]

Return values
mixed

__get()

Report that $property doesn't exist.

public __get(string $property) : mixed
Parameters
$property : string
Return values
mixed

__set()

Report that $property doesn't exist and set the property to the given $value.

public __set(string $property, mixed $value) : mixed
Parameters
$property : string
$value : mixed
Return values
mixed

__toString()

The object is used as an string.

public __toString() : string
Return values
string

getValue()

Get the current value.

public getValue() : mixed
Return values
mixed

import()

Import the new value based on the request and return the current value;.

public import([mixed &$error = null ][, mixed $request = null ]) : mixed
Parameters
$error : mixed = null

Contains the error code(s) in ALL_CAPS

$request : mixed = null

Allow overwriting the default $_REQUEST

Return values
mixed

The (updated) value

render()

Render the view to the client (echo statements).

public render() : mixed
Return values
mixed

setValue()

Set the (default) value.

public setValue(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

Search results