PHP Class Mlp_Table_Pagination_View

Outputs markup that will be styled by WordPress default stylesheets in admin backend.
Author: Inpsyde GmbH, MarketPress, toscho
Datei anzeigen Open project: inpsyde/multilingual-press

Public Methods

Method Description
__construct ( Mlp_Browsable $data ) Constructor.
print_pagination ( ) : void Print the markup.

Private Methods

Method Description
get_anchor ( string $url, string $title, string $class, string $text ) : string Get anchor markup.
get_current_page_display ( ) : string Get text for "page number of total pages".
get_current_url ( ) : string Get current request URL.
get_first_page_link ( ) : string Get markup for last page link.
get_item_count ( ) : string Get markup for all item display.
get_last_page_link ( ) : string Get markup for last page link.
get_next_page_link ( ) : string Get markup for next page link.
get_paged_url ( integer $page ) : string Get escaped URL for a specific page number.
get_pagination_links ( ) : string Get the link markup.
get_previous_page_link ( ) : string Get markup for previous page link.
set_context_vars ( ) : void Fill class members to be used by other methods.

Method Details

__construct() public method

Constructor.
public __construct ( Mlp_Browsable $data )
$data Mlp_Browsable

print_pagination() public method

Print the markup.
public print_pagination ( ) : void
return void