Create New EZ_VERSION__STATUS codes

Author Message

Mindshare Interactive Campaigns

Thursday 26 May 2005 12:24:26 pm

Hey guys, I'm trying to change the default "status" codes for something being approved or denied in a workflow. I.E. replace "Draft, Published, Pending, Archived, Rejected" with my own definitions and then create my own workflow around those definitions.

Basically I'm trying to create a system where one user can enter content, another user can evaluate it, pass it off to another user for editing and clean up, and then have a final user approve or deny the publishing of the resource. I'd like to change the status codes to refelect where the object is in my chain. It looks to me like I need to "extend" at least the eZContentObjectVersion class and then somehow associate it with content objects? Anyone got any pointers or willing to walk me through this process?

Thanks for your time and help!

http://www.mindshare.net

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 19 2025 07:03:37
Script start
Timing: Jan 19 2025 07:03:37
Module start 'layout'
Timing: Jan 19 2025 07:03:37
Module start 'content'
Timing: Jan 19 2025 07:03:37
Module end 'content'
Timing: Jan 19 2025 07:03:37
Script end

Main resources:

Total runtime0.0152 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.1797152.6250
Module start 'layout' 0.00520.0030 741.804739.4453
Module start 'content' 0.00820.0046 781.250085.1328
Module end 'content' 0.01270.0025 866.382830.3047
Script end 0.0152  896.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003019.9005140.0002
Check MTime0.00138.2102140.0001
Mysql Total
Database connection0.00074.637710.0007
Mysqli_queries0.002717.534030.0009
Looping result0.00000.086010.0000
Template Total0.001912.710.0019
Template load0.00138.568310.0013
Template processing0.00064.088710.0006
Override
Cache load0.00106.652310.0010
General
dbfile0.00031.733180.0000
String conversion0.00000.059440.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.0003 secs