PHP Class BootstrapPaginatorHelper, Platform-Twitter-Bootstrap

Inheritance: extends PaginatorHelper
Show file Open project: nodesagency/Platform-Twitter-Bootstrap

Public Methods

Method Description
first ( $first = '<< first', $options = [] )
last ( $last = 'last >>', $options = [] )
next ( $title = 'Next >>', $options = [], $disabledTitle = null, $disabledOptions = [] )
numbers ( mixed $options = [] ) : string Numbers paginator as we know it
prev ( $title = '<< Previous', $options = [], $disabledTitle = null, $disabledOptions = [] )
sortTableHeader ( string $key, mixed $title = null, array $options = [] ) : string Make table headers sortable

Method Details

first() public method

public first ( $first = '<< first', $options = [] )

last() public method

public last ( $last = 'last >>', $options = [] )

next() public method

public next ( $title = 'Next >>', $options = [], $disabledTitle = null, $disabledOptions = [] )

numbers() public method

Numbers paginator as we know it
See also: parent "numbers" function for docblock
public numbers ( mixed $options = [] ) : string
$options mixed Options for the numbers, (before, after, model, modulus, separator)
return string numbers string.

prev() public method

public prev ( $title = '<< Previous', $options = [], $disabledTitle = null, $disabledOptions = [] )

sortTableHeader() public method

Make table headers sortable
public sortTableHeader ( string $key, mixed $title = null, array $options = [] ) : string
$key string
$title mixed
$options array
return string