Grid_Pagination

Handles the HTML for grid pagination

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

$args  : mixed
$query  : mixed
$current_page  : mixed
$max_num_pages  : mixed
$paging_type  : mixed
__construct()  : mixed
Constructor.
get_html()  : string
Retrieves the HTML for the pagination.
get_first_link()  : string
Retrieve the First link HTML.
get_last_link()  : string
Retrieve the Last link HTML.
get_next_link()  : string
Retrieve the Next link HTML.
get_page_number_links()  : string
Retrieve the Number links HTML.
get_prev_link()  : string
Retrieve the Previous link HTML.
has_first_last_links()  : bool
Checks whether First | Last links are enabled
has_page_number_links()  : bool
Checks whether Number links are enabled
has_prev_next_links()  : bool
Checks whether Previous | Next links are enabled

Properties

Methods

get_html()

Retrieves the HTML for the pagination.

public get_html() : string
Return values
string

Retrieve the First link HTML.

protected get_first_link() : string
Return values
string

Retrieve the Last link HTML.

protected get_last_link() : string
Return values
string

Retrieve the Next link HTML.

protected get_next_link() : string
Return values
string

Retrieve the Number links HTML.

protected get_page_number_links() : string
Return values
string

Retrieve the Previous link HTML.

protected get_prev_link() : string
Return values
string

Checks whether First | Last links are enabled

protected has_first_last_links() : bool
Return values
bool

Checks whether Number links are enabled

protected has_page_number_links() : bool
Return values
bool

Checks whether Previous | Next links are enabled

protected has_prev_next_links() : bool
Return values
bool

Search results