Re: Re: Singletons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux