RE: [PEAR-DEV] DB_NestedSet_MDB useless
| From: | LIMBOURG Arnaud | Date: | Tue, 01 Jul 2003 13:55:49 +0000 |
| Subject: | RE: [PEAR-DEV] DB_NestedSet_MDB useless | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-17892@lists.php.net to get a copy of this message | ||
> Sure :) I think I would too.
>
> I'll coordinate w/ Daniel. What's the PEAR standard for this --
> ::getInstance() when there could be more than one instance
> (based on DSN) or
> ::singleton()?
singleton is the most used AFAIK.
I guess it's the job for the QA Team here, needing to decide what it should
be.
> Horde uses singleton(), but I like getInstance() as being a
> little more
> intuitive to people that may not know the pattern name.
Arnaud.