Ok, I found it. it is with a 's' -> ezcWorkflowConditionVariables
$c1 = new ezcWorkflowConditionVariables ( 'd1' , 'now',
new ezcWorkflowConditionIsEqualOrLessThan () );
...
Lydia
________________________________
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Alexandre, Lydia
Envoyé : mardi 9 décembre 2008 17:35
À : [email protected]
Objet : [Components] [Components-Workflow] compare input var
Hi,
I would like to know how to compare 2 input variables of a workflow ?
I have 2 var input :
$d1 = new ezcWorkflowNodeInput ( array ('d1' => new
ezcWorkflowConditionIsInteger ( ) ) );
$now = new ezcWorkflowNodeInput ( array ('now' => new
ezcWorkflowConditionIsInteger ( ) ) );
Conditions :
$c1 = new ezcWorkflowConditionVariable ( 'd1' ,
new ezcWorkflowConditionIsEqualOrLessThan ( $now )
);
It's not ok with $now, I tried this :
$c1 = new ezcWorkflowConditionVariable ( 'd1' , 'now',
new ezcWorkflowConditionIsEqualOrLessThan () );
but it doesn't work.
Thanks,
Lydia
~maKyo
--
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components