[PHP] Deleting object relations

[PHP] Deleting object relations

Tuesday 09 December 2008 12:05:47 pm - 3 replies

Author Message

Arnaud Lafon

Wednesday 10 December 2008 1:29:42 am

Hi Anders,

I think you'll find everything you need in the ezobjectrelationtype.php file which controls how ezpublish manage object relation via datatype, especially in the storeObjectAttribute() and fetchObjectAttributeHTTPInput() functions. You can also have a look inside the ezobjectrelationlist If you need multiple relation functionnality.
With a step by step debugger you'll be able to understand and reproduce what you need.

Hope this helps.

Looking for information about SQLI ?
Looking for a new job in Paris ?
Please contact me at alafon [at] sqli [dot] com

Anders Berre

Wednesday 10 December 2008 9:32:32 am

Thanks for your answear. I have, as I wrote in my first post, tried to the delete-functions in that file. But I will take a look in thoose two functions you told me about.

If anyone else have some input on this topic. I would be very happy to see what they have on their mind :)

Sincerely,

Anders Sandvik Berre
http://www.netmaking.no/

Anders Berre

Thursday 11 December 2008 5:48:22 am

I managed to fix my issue.

The problem was as easy as I did not set the new content to the object.

If someone is interested, I could copy/paste the code.

Sincerely,

Anders Sandvik Berre
http://www.netmaking.no/

You must be logged in to post messages in this topic!

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