Forums / Developer / HOWTO? What is the corrent way to remove a collaboration item?

HOWTO? What is the corrent way to remove a collaboration item?

Author Message

Björn Dieding@xrow.de

Tuesday 22 March 2005 2:54:36 am

I have been looking for a way to remove a collaboration item.

It seems to me that this feature is not yet implemented in the API. Is this correct?

eZCollaborationItem::cleanup() <-- clears all tables.

eZCollaborationItem::remove() <- only deletes entries from that table.

Does any body know more options?

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

eZ debug

Timing: Jan 20 2025 01:07:49
Script start
Timing: Jan 20 2025 01:07:49
Module start 'content'
Timing: Jan 20 2025 01:07:49
Module end 'content'
Timing: Jan 20 2025 01:07:49
Script end

Main resources:

Total runtime0.0251 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 589.4141180.7969
Module start 'content' 0.00800.0061 770.210989.8828
Module end 'content' 0.01420.0109 860.093870.7031
Script end 0.0250  930.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00259.8687120.0002
Check MTime0.00114.3548120.0001
Mysql Total
Database connection0.00062.418810.0006
Mysqli_queries0.003815.170240.0010
Looping result0.00000.147020.0000
Template Total0.010240.410.0102
Template load0.00114.472410.0011
Template processing0.009035.926410.0090
Override
Cache load0.00072.880710.0007
General
dbfile0.004317.0540100.0004
String conversion0.00000.039830.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs