Re: why don't most classes extend PEAR?
| From: | Martin Jansen | Date: | Fri, 07 Sep 2001 07:12:23 +0000 |
| Subject: | Re: why don't most classes extend PEAR? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1836@lists.php.net to get a copy of this message | ||
On Thu, 06 Sep 2001 15:28:56 -0700, greg keraunen wrote:
>In my case, I'm avoiding extending PEAR for now because I don't have
>control over php installion on my hosted site and can't run pearize or
>dl(PEAR.so).
To use PEAR.php as the base class for your projects you don't need
to have the ability to use dl() or pearize. Simply use
<?php
require_once "PEAR.php";
class MyClass extends PEAR
{
}
?>.
- Martin