Changeset 2580 for trunk/application
- Timestamp:
- 04/26/2008 01:26:46 AM (7 months ago)
- Files:
-
- 1 modified
-
trunk/application/controllers/examples.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/application/controllers/examples.php
r2314 r2580 258 258 // 'base_url' => 'welcome/pagination_example/page/', // base_url will default to current uri 259 259 'uri_segment' => 'page', // pass a string as uri_segment to trigger former 'label' functionality 260 // 'query_string' => 'pee', 260 261 'total_items' => 254, // use db count query here of course 261 262 'items_per_page' => 10, // it may be handy to set defaults for stuff like this in config/pagination.php … … 267 268 268 269 // You can also use the render() method and pick a style on the fly if you want 269 echo '<hr />Digg style: '.$pagination->render( 'digg');270 echo '<hr />Digg style: '.$pagination->render(); 270 271 echo '<hr />Extended style: '.$pagination->render('extended'); 271 272 echo '<hr />PunBB style: '.$pagination->render('punbb'); … … 292 293 /*function payment() 293 294 { 294 $credit_card = new Payment ();295 $credit_card = new Payment; 295 296 296 297 // You can also pass the driver name to the library to use multiple ones:
