[LiveUser] How to get an existing LiveUser instance ?

From: Date: Mon, 15 Mar 2004 23:20:39 +0000
Subject: [LiveUser] How to get an existing LiveUser instance ?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11309@lists.php.net to get a copy of this message
Hi, I tried to use LiveUser package in my application. I've a problem because I call LiveUser::factory() twice and the second call generates an error. What I whould like to do is to automaticaly get an existing instance of LiveUser or create it if it doesn't exist. Is it possible in LiveUser package or should I create my own singleton to be sure that only one instance of LiveUser exists ? Thank you Stephane

« previous php.pear.general (#11309) next »