ezcWorkflowCondition::evaluate PHP Method

evaluate() public method

Evaluates this condition.
public evaluate ( mixed $value ) : boolean
$value mixed
return boolean true when the condition holds, false otherwise.
    public function evaluate($value);

Usage Example

Beispiel #1
0
 /**
  * Evaluates this condition.
  *
  * @param  mixed $value
  * @return boolean true when the condition holds, false otherwise.
  * @ignore
  */
 public function evaluate($value)
 {
     if (is_array($value) && isset($value[$this->variableName])) {
         return $this->condition->evaluate($value[$this->variableName]);
     } else {
         return false;
     }
 }
All Usage Examples Of ezcWorkflowCondition::evaluate
ezcWorkflowCondition