Forums / Developer / Getting object Locations programmatically

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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