Forums / Developer / is fetchByURLPath able to accept language params?
Matt McLaughlin
Monday 14 September 2009 3:34:16 pm
eZContentObjectTreeNode::fetchByURLPath
Hi, I'm kind of an ez noob so bare with me.
I'm using fetchByURLPath and trying to pass it something like this 'eng/folder/article' and it fails to match an article. Does it not support languages? OR after I grab the contentNode from a successful request can I access other languages from that?
Also, while I have your attention, is there a method/class I need to filter returned content through? As it is now when I access my attribute's from a content node it's all in eZ Publishes xml format.
I've been trying to use the API documentation and the source code as a guide but it hasn't been very easy/successful. Is there a better set of documents/tutorials besides the ones eZ Publish has under their Developer tab?
Monday 14 September 2009 3:48:19 pm
Disregard my questions about formatting. I was able to find a site that gave a good example: http://serwatka.net/blog/fetching_ez_publish_content_objects_with_php It's a little old but it leads you in the right direction.
I'm still working with the languages issue so any help there would be appreciated.