Pager
[ class tree: Pager ] [ index: Pager ] [ all elements ]

File: Pager_Wrapper.php

Source Location: /Pager-2.4.8/examples/Pager_Wrapper.php

Classes:

Page Details:


Pager_Wrapper_DB [line 78]

array Pager_Wrapper_DB( object PEAR::DB &$db, string $query, [array $pager_options = array()], [boolean $disabled = false], [integer $fetchMode = DB_FETCHMODE_ASSOC], [mixed $dbparams = null])

  • Return: with links and paged data


Parameters

object PEAR::DB   &$db   instance
string   $query   db query
array   $pager_options   PEAR::Pager options
boolean   $disabled   Disable pagination (get all results)
integer   $fetchMode   fetch mode constant
mixed   $dbparams   parameters for query placeholders If you use placeholders for table names or column names, please count the # of items returned by the query and pass it as an option: $pager_options['totalItems'] = count_records('some query');
[ Top ]



Pager_Wrapper_DBDO [line 253]

array Pager_Wrapper_DBDO( object PEAR::DataObject &$db, [array $pager_options = array()], [boolean $disabled = false])



Parameters

object PEAR::DataObject   &$db   instance
array   $pager_options   PEAR::Pager options
boolean   $disabled   Disable pagination (get all results)
[ Top ]



Pager_Wrapper_Eclipse [line 291]

array Pager_Wrapper_Eclipse( object PHP &$db, string $query, [array $pager_options = array()], [boolean $disabled = false])



Parameters

object PHP   &$db   Eclipse instance
string   $query   db query
array   $pager_options   PEAR::Pager options
boolean   $disabled   Disable pagination (get all results)
[ Top ]



Pager_Wrapper_MDB [line 138]

array Pager_Wrapper_MDB( object PEAR::MDB &$db, string $query, [array $pager_options = array()], [boolean $disabled = false], [integer $fetchMode = MDB_FETCHMODE_ASSOC])

  • Return: with links and paged data


Parameters

object PEAR::MDB   &$db   instance
string   $query   db query
array   $pager_options   PEAR::Pager options
boolean   $disabled   Disable pagination (get all results)
integer   $fetchMode   fetch mode constant
[ Top ]



Pager_Wrapper_MDB2 [line 198]

array Pager_Wrapper_MDB2( object PEAR::MDB2 &$db, string $query, [array $pager_options = array()], [boolean $disabled = false], [integer $fetchMode = MDB2_FETCHMODE_ASSOC])

  • Return: with links and paged data


Parameters

object PEAR::MDB2   &$db   instance
string   $query   db query
array   $pager_options   PEAR::Pager options
boolean   $disabled   Disable pagination (get all results)
integer   $fetchMode   fetch mode constant
[ Top ]



Documentation generated on Tue, 21 Apr 2009 23:00:06 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.