RE: [PEAR] DB_DO Questions:

From: Date: Sun, 04 Sep 2005 23:20:25 +0000
Subject: RE: [PEAR] DB_DO Questions:
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20773@lists.php.net to get a copy of this message
I'm trying to add function which will perform query with all joined tables. For example (at DO Class): ... function get($k = null, $v = null, $join = false) { if ($join) { $jt = new DO_JoinTable; $this->joinAdd($jt); } return $this->get($k, $v); } ... Suppose that this function will perform appropriate query so I could get all table vales including joined table. $do = new DO_MyClass; $do->get(1, null, true); Got the idea? Is that correct way doing this?

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