Getting object Locations programmatically

Author Message

Ammar Ibrahim

Wednesday 15 November 2006 9:41:42 am

How can I get object locations e.g.

$object =& eZContentObject::fetch(71);

Is there a method to get object locations?

Claudia Kosny

Wednesday 15 November 2006 10:41:02 am

Hi

I think the attribute assigned_nodes should the information that you want as this is an array with all the nodes that encapsulate the object.

$assignedNodes =& $object->attribute('assigned_nodes');

Claudia

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.