Pear Pager, Pager constructor is deprecated. You must use the "Pager::factory($params)" method instead of "new Pager($params)"
| From: | Louie Miranda | Date: | Thu, 05 Jan 2006 14:08:03 +0000 |
| Subject: | Pear Pager, Pager constructor is deprecated. You must use the "Pager::factory($params)" method instead of "new Pager($params)" | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-22445@lists.php.net to get a copy of this message | ||
*Fatal error*: Pager constructor is deprecated. You must use the
"Pager::factory($params)" method instead of "new Pager($params)" in
I did not understand. How would i proceed?
currently this is my setup on php4, when i switched to php5. that error
showed up.
$pager = &new Pager($params);
> $pageData = $pager->getPageData();
> $pagerLinks = $pager->getLinks();
> $pagerCount = $pager->numItems();
> $pagerPages = $pager->numPages();
>
Please help!
--
Louie Miranda
http://www.axishift.com -- under development