Workflow - object information

Author Message

Fabien Audin

Wednesday 07 April 2010 8:31:51 am

Hello,

Do you know how can I get the node id of the element where an article will be put after pending?

Thank you in advance.

Gaetano Giunta

Thursday 08 April 2010 12:28:04 am

Look at the code (svn only, no release yet) of ezworkflowcollection on projecst.ez;no. There is a worflow event that does that...

Principal Consultant International Business
Member of the Community Project Board

Fabien Audin

Thursday 08 April 2010 1:16:49 am

Ok thanks a lot.

I'll have a look on the source code. ;)

Fabien Audin

Thursday 08 April 2010 2:28:45 am

Do you have a documentation of your extension? Because I would like find quickly what i'm looking for. I want to retrieve the parent_node_id of an article which is in the collaboration list. Is it possible with your extension Gaetano?

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 18 2025 11:44:05
Script start
Timing: Jan 18 2025 11:44:06
Module start 'layout'
Timing: Jan 18 2025 11:44:06
Module start 'content'
Timing: Jan 18 2025 11:44:06
Module end 'content'
Timing: Jan 18 2025 11:44:06
Script end

Main resources:

Total runtime0.6073 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 587.9141152.6250
Module start 'layout' 0.00850.0024 740.539139.4453
Module start 'content' 0.01090.5947 779.9844537.7500
Module end 'content' 0.60570.0016 1,317.734412.1641
Script end 0.6072  1,329.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5741160.0002
Check MTime0.00150.2506160.0001
Mysql Total
Database connection0.00100.166010.0010
Mysqli_queries0.557291.7486600.0093
Looping result0.00060.0962580.0000
Template Total0.574694.620.2873
Template load0.00210.346120.0011
Template processing0.572594.276720.2863
Template load and register function0.00020.034110.0002
states
state_id_array0.00080.135510.0008
state_identifier_array0.00190.310920.0009
Override
Cache load0.00170.2838140.0001
Sytem overhead
Fetch class attribute can translate value0.00050.081720.0002
Fetch class attribute name0.00140.237450.0003
XML
Image XML parsing0.00070.117520.0004
class_abstraction
Instantiating content class attribute0.00000.001850.0000
General
dbfile0.00090.1436160.0001
String conversion0.00000.001840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs