Forums / Developer / Fetch the parent ??

Fetch the parent ??

Author Message

Anthony M.

Friday 13 October 2006 3:17:37 am

Hello,

the 'fetch' function is used to fetch the children, but is it possible to fetch the parent ??

Thanks for your help

Anthony

Kristof Coomans

Friday 13 October 2006 4:03:30 am

Hello Anthony

If you have a node object in $node then use $node.parent.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org