Closed (fixed)
Project:
Workflow
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 May 2009 at 06:54 UTC
Updated:
26 Jul 2009 at 13:29 UTC
Hi,
I am developing some node access grants for my nodes based on workflow and I noticed that for some nodes, I get $node->_workflow and for others, I have $node->workflow.
What is the difference?
Thanks,
Jakub
Comments
Comment #1
kerberos commentedYeah, we noticed that as well - particularly in the context of bulk changes using the View Bulk Operations module.
-Daniel Chvatik
Adulmec
Comment #2
jvandyk commented$node->_workflow is the node's current workflow state, retrieved from the database and added to the node object when the node is loaded.
$node->workflow is the value of the workflow form when the node is submitted.
Comment #4
kerberos commentedThanks for the explanation, John.
-Daniel