On 19/12/2007, js <[EMAIL PROTECTED]> wrote:
> Hi Jochem,
>
> Sorry, I missed "static".
> So, getDB() would works like singleton, right?
> I agree that's better method to manage dbh.

The technique is called memoization (http://en.wikipedia.org/wiki/Memoization).

-robin

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

Reply via email to