Guest User

Untitled

a guest
Jun 18th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.36 KB | None | 0 0
  1. ## in view i have called print_r($this->paginator)and get this
  2. Zend_Paginator Object
  3. (
  4. [_adapter:protected] => Zend_Paginator_Adapter_DbSelect Object
  5. (
  6. [_select:protected] => Zend_Db_Select Object
  7. (
  8. [_adapter:protected] => Zend_Db_Adapter_Pdo_Mysql Object
  9. (
  10. [_pdoType:protected] => mysql
  11. [_numericDataTypes:protected] => Array
  12. (
  13. [0] => 0
  14. [1] => 1
  15. [2] => 2
  16. [INT] => 0
  17. [INTEGER] => 0
  18. [MEDIUMINT] => 0
  19. [SMALLINT] => 0
  20. [TINYINT] => 0
  21. [BIGINT] => 1
  22. [SERIAL] => 1
  23. [DEC] => 2
  24. [DECIMAL] => 2
  25. [DOUBLE] => 2
  26. [DOUBLE PRECISION] => 2
  27. [FIXED] => 2
  28. [FLOAT] => 2
  29. )
  30.  
  31. [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo
  32. [_config:protected] => Array
  33. (
  34. [host] => arslan-ali
  35. [username] => root
  36. [password] =>
  37. [dbname] => wlm
  38. [options] => Array
  39. (
  40. [caseFolding] => 0
  41. [autoQuoteIdentifiers] => 1
  42. )
  43.  
  44. [driver_options] => Array
  45. (
  46. )
  47.  
  48. )
  49.  
  50. [_fetchMode:protected] => 2
  51. [_profiler:protected] => Zend_Db_Profiler Object
  52. (
  53. [_queryProfiles:protected] => Array
  54. (
  55. [0] => Zend_Db_Profiler_Query Object
  56. (
  57. [_query:protected] => DESCRIBE `products`
  58. [_queryType:protected] => 2
  59. [_startedMicrotime:protected] => 1242655452.92
  60. [_endedMicrotime:protected] => 1242655452.93
  61. [_boundParams:protected] => Array
  62. (
  63. )
  64.  
  65. )
  66.  
  67. [1] => Zend_Db_Profiler_Query Object
  68. (
  69. [_query:protected] => SELECT COUNT(*) AS `num` FROM `products` LIMIT 1
  70. [_queryType:protected] => 32
  71. [_startedMicrotime:protected] => 1242655452.93
  72. [_endedMicrotime:protected] => 1242655452.93
  73. [_boundParams:protected] => Array
  74. (
  75. )
  76.  
  77. )
  78.  
  79. [2] => Zend_Db_Profiler_Query Object
  80. (
  81. [_query:protected] => SELECT COUNT(*) AS `zend_paginator_row_count` FROM `products`
  82. INNER JOIN `product_categories` ON products.product_cat_id = product_categories.id
  83. [_queryType:protected] => 32
  84. [_startedMicrotime:protected] => 1242655452.99
  85. [_endedMicrotime:protected] => 1242655453.01
  86. [_boundParams:protected] => Array
  87. (
  88. )
  89.  
  90. )
  91.  
  92. [3] => Zend_Db_Profiler_Query Object
  93. (
  94. [_query:protected] => DESCRIBE `product_status`
  95. [_queryType:protected] => 2
  96. [_startedMicrotime:protected] => 1242655453.02
  97. [_endedMicrotime:protected] => 1242655453.02
  98. [_boundParams:protected] => Array
  99. (
  100. )
  101.  
  102. )
  103.  
  104. [4] => Zend_Db_Profiler_Query Object
  105. (
  106. [_query:protected] => SELECT `product_status`.* FROM `product_status`
  107. [_queryType:protected] => 32
  108. [_startedMicrotime:protected] => 1242655453.02
  109. [_endedMicrotime:protected] => 1242655453.04
  110. [_boundParams:protected] => Array
  111. (
  112. )
  113.  
  114. )
  115.  
  116. )
  117.  
  118. [_enabled:protected] => 1
  119. [_filterElapsedSecs:protected] =>
  120. [_filterTypes:protected] =>
  121. )
  122.  
  123. [_defaultProfilerClass:protected] => Zend_Db_Profiler
  124. [_connection:protected] => PDO Object
  125. (
  126. )
  127.  
  128. [_caseFolding:protected] => 0
  129. [_autoQuoteIdentifiers:protected] => 1
  130. )
  131.  
  132. [_parts:protected] => Array
  133. (
  134. [distinct] =>
  135. [columns] => Array
  136. (
  137. [0] => Array
  138. (
  139. [0] => products
  140. [1] => *
  141. [2] =>
  142. )
  143.  
  144. [1] => Array
  145. (
  146. [0] => product_categories
  147. [1] => *
  148. [2] =>
  149. )
  150.  
  151. )
  152.  
  153. [union] => Array
  154. (
  155. )
  156.  
  157. [from] => Array
  158. (
  159. [products] => Array
  160. (
  161. [joinType] => inner join
  162. [schema] =>
  163. [tableName] => products
  164. [joinCondition] =>
  165. )
  166.  
  167. [product_categories] => Array
  168. (
  169. [joinType] => inner join
  170. [schema] =>
  171. [tableName] => product_categories
  172. [joinCondition] => products.product_cat_id = product_categories.id
  173. )
  174.  
  175. )
  176.  
  177. [where] => Array
  178. (
  179. )
  180.  
  181. [group] => Array
  182. (
  183. )
  184.  
  185. [having] => Array
  186. (
  187. )
  188.  
  189. [order] => Array
  190. (
  191. [0] => Array
  192. (
  193. [0] => products.id
  194. [1] => DESC
  195. )
  196.  
  197. )
  198.  
  199. [limitcount] =>
  200. [limitoffset] =>
  201. [forupdate] =>
  202. )
  203.  
  204. [_tableCols:protected] => Array
  205. (
  206. )
  207.  
  208. )
  209.  
  210. [_rowCount:protected] => 4884
  211. )
  212.  
  213. [_currentItemCount:protected] =>
  214. [_currentItems:protected] =>
  215. [_currentPageNumber:protected] => 0
  216. [_itemCountPerPage:protected] => 10
  217. [_pageCount:protected] => 489
  218. [_pageItems:protected] => Array
  219. (
  220. )
  221.  
  222. [_pageRange:protected] => 5
  223. [_pages:protected] =>
  224. [_view:protected] =>
  225. )
Add Comment
Please, Sign In to add comment