Object Relations Backend

Author Message

Erik Weinmaster

Wednesday 27 May 2009 2:26:19 pm

Hello,

I am trying to figure out how to essentially do the work that ezpublish does for assigning objects to the array under an 'Object Relations' attribute. I already have a list of other nodes that I want to assign as related to 1 particular node, but I don't want to give this option to the user (as they wouldn't know what to do).
I noticed that ezpublish uses checkboxes named as 'SelectedObjectIDArray[]' to store the different contentobject_ids of the nodes to store in the array for related objects, and that this gets processed in kernel/classes/datatypes/ezobjectrelationlist/ezobjectrelationlisttype.php in the function set_object_relation_list(). However, what I don't know is; Is this all there is to it? If not, what other processing steps will I need in order to finish the action mentioned above?

thanks,
-erik

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