Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Pager Class Reference

List of all members.

Detailed Description

-------------------------------------------------------------------------------- pager objeckt

Instanziierung: new pager( ... )

Methoden: ->link() gibt einen HTML-String mit den Seiten-Links zurueck ->pagelink( $seiten-nummer ) gibt den Link zu einer spezifischen Seite zurueck

Eigenschaften: s. var - Liste ---------------------------------------------------------------------------------

Author:
Carsten Bormann <jisuga@terta.kn-bremen.de>

Robert Vock <smir@andaloria.de>

Definition at line 35 of file pager.php.

Public Member Functions

 Pager ($intCount, $intMax, $intMaxLinks, $strUrl)
 Constructor.
 setcurrent ($intCurrent=-1)
 pagelink ($intPageNo)
 link ()
 pagestring ()

Public Attributes

 $intPage
 current page
 $intMaxPage
 total number of pages
 $intItemLimit
 maximum number of data sets on one page
 $firstline
 erster Datensatz der Seite
 $lastline
 letzter Datensatz der Seite
 $intTotal
 total number of data sets
 $intMaxLink
 maximum number of links to show at once (calculated as range around the current page)
 $strUrl
 page links will be appended to this url


Constructor & Destructor Documentation

Pager::Pager intCount,
intMax,
intMaxLinks,
strUrl
 

Constructor.

Parameters:
$intCount count of data sets
$intMax maximum Items Per Page
$intMaxLinks maximum count of links to show at once
$strUrl url as string. Page links will be appended to this link. Caller must specify ? or &

Definition at line 56 of file pager.php.

References $intCount, and $strUrl.


Member Function Documentation

Pager::link  ) 
 

Definition at line 108 of file pager.php.

Pager::pagelink intPageNo  ) 
 

Definition at line 91 of file pager.php.

Pager::pagestring  ) 
 

Definition at line 147 of file pager.php.

Pager::setcurrent intCurrent = -1  ) 
 

Definition at line 75 of file pager.php.


Member Data Documentation

Pager::$firstline
 

erster Datensatz der Seite

Definition at line 40 of file pager.php.

Pager::$intItemLimit
 

maximum number of data sets on one page

Definition at line 39 of file pager.php.

Pager::$intMaxLink
 

maximum number of links to show at once (calculated as range around the current page)

Definition at line 43 of file pager.php.

Pager::$intMaxPage
 

total number of pages

Definition at line 38 of file pager.php.

Pager::$intPage
 

current page

Definition at line 37 of file pager.php.

Pager::$intTotal
 

total number of data sets

Definition at line 42 of file pager.php.

Pager::$lastline
 

letzter Datensatz der Seite

Definition at line 41 of file pager.php.

Pager::$strUrl
 

page links will be appended to this url

Definition at line 44 of file pager.php.

Referenced by Pager().


The documentation for this class was generated from the following file:
Generated on Sun May 8 19:29:46 2005 for PhpMap by  doxygen 1.4.2