Path

ez components / documentation / api reference / 2008.2.2 / workflow


eZ Components 2008.2.2

Workflow: ezcWorkflowConditionInArray

[ Tutorial ] [ Theoretical background ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcWorkflowConditionInArray

Condition that checks if a value is in an array. [source]
Typically used together with ezcWorkflowConditionVariable to use the condition on a workflow variable.
1.  <?php
2.  $condition new ezcWorkflowConditionVariable(
3.    'variable name',
4.    new ezcWorkflowConditionInArrayarray... ) )
5.  );
6.  ?>

Parents

ezcWorkflowConditionComparison
   |
   --ezcWorkflowConditionInArray

Member Variables

protected mixed $operator = 'in array'

Inherited Member Variables

From ezcWorkflowConditionComparison:
protected  ezcWorkflowConditionComparison::$value

Inherited Methods

From ezcWorkflowConditionComparison :
public ezcWorkflowConditionComparison ezcWorkflowConditionComparison::__construct()
Constructs a new comparison condition.
Last updated: Mon, 30 Mar 2009