In the workflows, what is $collab_item.data_int3

Author Message

J-A Eberhard

Friday 21 April 2006 1:00:53 am

In ezapprove.tpl, we have a switch on $collab_item.data_int3
What this value is?
Thanks

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

J-A Eberhard

Friday 21 April 2006 1:25:45 pm

The handler uses the fields data_int1, data_int2 and data_int3 to store
information on the contentobject and the approval status.

- data_int1 - The content object ID
- data_int2 - The content object version
- data_int3 - The status of the approval, see below.

$collab_item.data_int3 = 0 => Default status, no approval decision has been made

$collab_item.data_int3 = 1 => The contentobject was approved and will be published

$collab_item.data_int3 = 2 => The contentobject was denied and will be archived

$collab_item.data_int3 = 3 => The contentobject was deferred and will be a draft again for reediting

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

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

eZ debug

Timing: Jan 30 2025 16:39:28
Script start
Timing: Jan 30 2025 16:39:28
Module start 'layout'
Timing: Jan 30 2025 16:39:28
Module start 'content'
Timing: Jan 30 2025 16:39:28
Module end 'content'
Timing: Jan 30 2025 16:39:28
Script end

Main resources:

Total runtime0.0367 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.2656151.2266
Module start 'layout' 0.00630.0048 739.4922220.7188
Module start 'content' 0.01110.0239 960.2109997.8359
Module end 'content' 0.03500.0017 1,958.046929.9922
Script end 0.0367  1,988.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00318.5237140.0002
Check MTime0.00123.1438140.0001
Mysql Total
Database connection0.00082.188010.0008
Mysqli_queries0.00318.527030.0010
Looping result0.00000.040910.0000
Template Total0.00123.210.0012
Template load0.00092.321710.0009
Template processing0.00030.775410.0003
Override
Cache load0.00061.641710.0006
General
dbfile0.007620.657880.0009
String conversion0.00000.029240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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