Re: Structures_DataGrid Data Sources

From: Date: Fri, 20 Aug 2004 14:52:53 +0000
Subject: Re: Structures_DataGrid Data Sources
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32784@lists.php.net to get a copy of this message
Olivier Guilyardi wrote:
Tests and documentation : http://xung.org/misc/dgdo/sdg_source/test/index.html All of this new layer is tested and works with php4 and php5, as you can see by pointing your browser to the link I provide above. (except the RSS driver, not tested yet).
Oops, sorry, there are problems on php5 with both the dataobject and xml (when using XML_Xpath) drivers : Fatal error: Method DB_DataObject_Overload::__call() must take exactly 2 arguments in <b>/usr/share/php/DB/DataObject.php on line 191 Fatal error: Cannot re-assign $this in <b>/usr/share/php/XML/XPath.php on line 101 -- og As far as i can tell, XML_Xpath is completly broken in php5, and its not from $this reasignment, it uses domxml, which is now replaced by dom, and have different apis. So if you want php5 support of it, its going to take quite a bit of work. I have a hacked up wrapper im using in my conversion, but I think the best long term solution is to rethink XML_Xpath and make a version that fits better into the php5 dom model.
-josh

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