Forums / Developer / How remove all objects in one node via PHP? / Comment44983
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