Class Paginator

Description

Paginator class load and number of pages according to the result counts. It requried SearchTrail url to pass in the constructor so it will be appended in every page link to request selected page data from target WebService.

Located in /models/Paginator.php (line 15)


	
			
Method Summary
Paginator __construct (unknown_type $trailString)
string getNavigation ()
void load (array $names, int $count, int $page)
Methods
Constructor __construct (line 35)

Initiates Pagiantor class object

  • access: public
Paginator __construct (unknown_type $trailString)
  • unknown_type $trailString
getNavigation (line 57)

Set the layout of the pagination bar.

  • access: public
string getNavigation ()
load (line 47)

Load the Paginated object with supplied results, count and page number.

  • access: public
void load (array $names, int $count, int $page)
  • array $names
  • int $count
  • int $page

Documentation generated on Wed, 13 Feb 2008 01:57:37 +0500 by phpDocumentor 1.4.0a2