Share » Forums » Developer » CLI sript - remove object - language

CLI sript - remove object - language

CLI sript - remove object - language

Thursday 26 August 2010 10:34:47 pm - 2 replies

Author Message

Nicolas Pastorino

Thursday 26 August 2010 11:15:42 pm

Hi Martin,

If you are removing one object only, you may want to consider the purge() method of the eZContentObject class.
Check it here : http://github.com/ezsystems/ezpublish/blob/master/kernel/classes/ezcontentobject.php#L1704

Caution though : it *really* purges about anything related to the object :)

Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Jérôme Vieilledent

Friday 27 August 2010 8:23:38 am

Or you can install SQLIImport content framework : http://svn.projects.ez.no/sqliimport/trunk/stubs/contentremove.php ;-).

You will find the doc in the downloads section.

Enjoy !

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

36 542 Users on board!

Forums menu