Re: Re[4]: [PHP-PEAR] Merging PHPLIB into PEAR
| From: | Chuck Hagenbuch | Date: | Fri, 19 Jan 2001 16:53:53 +0000 |
| Subject: | Re: Re[4]: [PHP-PEAR] Merging PHPLIB into PEAR | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-1062@lists.php.net to get a copy of this message | ||
Quoting "Max A. Derkachev" <kot@books.ru>:
> Yes, if you mean that methods of PHPLib classes are underscore with _
> as delimiters in names, not java-style PEAR class methods names.
No, I mean that instead of having a Session:: class with a factory method
(Session::factory()) that creates objects of any session type, saving you from
hardcoding class names, there is CT_sql, CT_foo, CT_bar, and you need to
subclass one of them and specify that name somewhere in your app to use it -
and none of them are related to the Session class, which they could inherit
from.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Entropy. It's what's for dinner.