Forums / Developer / How remove all objects in one node via PHP?
Ulitsa Tal Arik
Thursday 15 December 2005 7:00:58 am
Hi people! How to remove all objects in one node?
Gabriel Ambuehl
Thursday 15 December 2005 12:06:46 pm
Generally, there's exactly ONE content object per node...
Visit http://triligon.org
Bruce Morrison
Thursday 15 December 2005 3:54:06 pm
Howdy
I'm assuming that you want to remove all child nodes (and corresponding objects) of a particular node.
Have a look at http://pubsvn.ez.no/doxygen/classeZContentObjectTreeNode.htmlhttp://pubsvn.ez.no/doxygen/classeZContentObject.html
and
http://pubsvn.ez.no/nextgen/trunk/kernel/content/removenode.phphttp://pubsvn.ez.no/nextgen/trunk/kernel/content/removeobject.php
If you still are having problems let me know and I'll see if I can whip up some sample code.
CheersBruce
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish
Thursday 15 December 2005 10:46:53 pm
Thanks! everything work fine :)