Re: New Pager extending problem
| From: | Lorenzo Alberton | Date: | Thu, 11 Sep 2003 18:34:05 +0000 |
| Subject: | Re: New Pager extending problem | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21400@lists.php.net to get a copy of this message | ||
On Thu, 11 Sep 2003 15:27:05 -0300, Marcos Neves wrote:
> The new Pager class does not support direct extending, cause inside
> his constructor it assign a new Object to this. Any solution for
> this?
Technically, you still can write
require_once 'Pager/Sliding.php'
(== the old PEAR::Pager_Sliding)
or
require_once 'Pager/Jumping.php'
(== the old PEAR::Pager)
and extend one of those...
HTH
Lorenzo