Re: DB_NestedSet createRoot Node

From: Date: Mon, 17 Nov 2003 18:35:41 +0000
Subject: Re: DB_NestedSet createRoot Node
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23715@lists.php.net to get a copy of this message
I have a problem with the version i installed then (again) cause it complained about missing function ;) > Arnaud Limbourg wrote: > > > $this->_dropSequence($this->sequence_table); > > > > shouldn't it be > > > > $this->db->dropSequence($this->sequence_table); > > Hi Arnaud, > > no - as it's a member method of DB_NestedSet[MDB|DB] and implemented there. > > The MDB driver does: > function _dropSequence($sequence) > { > $this->db->loadManager(); > return $this->db->dropSequence($sequence); > } > > The DB driver does: > function _dropSequence($sequence) > { > return $this->db->dropSequence($this->sequence_table); > } > > So it shoudln't be called on the $db instance directly. > > greetings > > -- > Daniel Khan > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.pear.dev (#23715) next »