API break in version 0.8.0

20 views
Skip to first unread message

Nicholas Humfrey

unread,
Feb 18, 2013, 5:10:03 PM2/18/13
to eas...@googlegroups.com
Hello,

There is going to be some non-backwards compatible API changes in the upcoming EasyRdf version 0.8.0 release.

For consistency and PSR-2 compatibility:
* is_a() has been renamed to isA()
* isBnode() has been renamed to isBNode()
* getNodeId() has been renamed to getBNodeId()
* getFormat() will be renamed to get() in EasyRdf_Format

In order to implement the new EasyRdf_Collection and EasyRdf_Container classes:
* count() will be renamed to countValues() in EasyRdf_Graph and EasyRdf_Resource
* toArray() will be renamed to toRdfPhp() in EasyRdf_Graph and EasyRdf_Resource


Please let me know if any of these changes will cause you significant problems.

nick.

Reply all
Reply to author
Forward
0 new messages