.

IPagerAdapter Interface Reference
[Interfaces]

Adapter for pager to extract and set page from URL. More...

Inheritance diagram for IPagerAdapter:
PagerDefaultAdapter

List of all members.

Public Member Functions

  get_current_page ()
  Return current page.
  get_url_for_page ($page)
  Compute url for page.

Detailed Description

Adapter for pager to extract and set page from URL.

Author:
Gerd Riesselmann

Definition at line 8 of file ipageradapter.cls.php.


Member Function Documentation

IPagerAdapter::get_current_page (  ) 

Return current page.

Parameters:
PageData  $page_data
Returns:
int

Implemented in PagerDefaultAdapter.

IPagerAdapter::get_url_for_page ( page  ) 

Compute url for page.

Parameters:
int  $page
Returns:
Url

Implemented in PagerDefaultAdapter.


The documentation for this interface was generated from the following file: