Re: [PHP] Static Member Variables holding objects w/methods

2006-08-16 Thread Gabe
Richard Lynch wrote: On Wed, August 16, 2006 9:13 am, Gabe wrote: I'm trying to use the following method of a class (DbConnector): public function closeConnector() { // echo "in closeConnector()"; var_dump(DbConnector::$connector); What is $connector ??? Perhaps you want Db

Re: [PHP] Static Member Variables holding objects w/methods

2006-08-16 Thread Richard Lynch
On Wed, August 16, 2006 9:13 am, Gabe wrote: > I'm trying to use the following method of a class (DbConnector): > > public function closeConnector() { > // > echo "in closeConnector()"; > var_dump(DbConnector::$connector); What is $connector ??? Perhaps you want DbConnector::con

[PHP] Static Member Variables holding objects w/methods

2006-08-16 Thread Gabe
I'm trying to use the following method of a class (DbConnector): public function closeConnector() { // echo "in closeConnector()"; var_dump(DbConnector::$connector); echo ""; //make sure the db object is cleaned up properly if ( gettype(DbConnector::