Re: [PHP] Re: Singletons
- From: christoph.boget@xxxxxxxxx ("Christoph Boget")
- Date: Wed, 22 Oct 2008 09:04:32 -0400
here is in my opinion, what you can do:
class Base {
private function __construct()
Except that in one of my follow up posts I indicated that my singleton
class was deriving from a class that had a public constructor.
Thanks anyway. I ended up just using Stut's suggestion. As he said,
it's not pretty but it is simple.
thnx,
Christoph
.
- References:
- Singletons
- From: "Christoph Boget"
- Re: [PHP] Singletons
- From: Stut
- Re: [PHP] Singletons
- From: Stut
- Re: Singletons
- From: Colin Guthrie
- Re: Singletons
- From: Carlos Medina
- Singletons
- Prev by Date: Re: [PHP] Problem changing file encoding
- Next by Date: Re: [PHP] Re: -help
- Previous by thread: Re: Singletons
- Next by thread: Re: [PHP] Singletons
- Index(es):
Relevant Pages
|