Property | Type | Description | |
---|---|---|---|
$condition | ezcWorkflowCondition | The condition that is applied to the variable. | |
$variableName | string | The name of the variable the condition is applied to. |
Method | Description | |
---|---|---|
__construct ( string $variableName, ezcWorkflowCondition $condition ) | Constructor. | |
__toString ( ) : string | Returns a textual representation of this condition. | |
evaluate ( mixed $value ) : boolean | Evaluates this condition. | |
getCondition ( ) : ezcWorkflowCondition | Returns the condition. | |
getVariableName ( ) : string | Returns the name of the variable the condition is evaluated for. |
public __construct ( string $variableName, ezcWorkflowCondition $condition ) | ||
$variableName | string | |
$condition | ezcWorkflowCondition |
public __toString ( ) : string | ||
return | string |
public getCondition ( ) : ezcWorkflowCondition | ||
return | ezcWorkflowCondition |
public getVariableName ( ) : string | ||
return | string |
protected ezcWorkflowCondition $condition | ||
return | ezcWorkflowCondition |
protected string $variableName | ||
return | string |