PHP Class ezcWorkflowConditionNot, Workflow
An object of the ezcWorkflowConditionNot decorates an ezcWorkflowCondition object
and negates its expression.
Afficher le fichier
Open project: zetacomponents/workflow
Class Usage Examples
Protected Properties
Свойство |
Type |
Description |
|
$condition |
ezcWorkflowCondition |
Holds the expression to negate. |
|
Méthodes publiques
Méthode |
Description |
|
__construct ( ezcWorkflowCondition $condition ) |
Constructs a new not condition on $condition. |
|
__toString ( ) : string |
Returns a textual representation of this condition. |
|
evaluate ( mixed $value ) : boolean |
Evaluates this condition with the value $value and returns true if the condition holds. |
|
getCondition ( ) : ezcWorkflowCondition |
Returns the condition that is negated. |
|
Method Details
__construct()
public méthode
Constructs a new not condition on $condition.
public __construct ( ezcWorkflowCondition $condition ) |
$condition |
ezcWorkflowCondition |
|
__toString()
public méthode
Returns a textual representation of this condition.
evaluate()
public méthode
If the condition does not hold false is returned.
getCondition()
public méthode
Returns the condition that is negated.
public getCondition ( ) : ezcWorkflowCondition |
Résultat |
ezcWorkflowCondition |
|
Property Details
$condition protected_oe property
Holds the expression to negate.
protected ezcWorkflowCondition $condition |
Résultat |
ezcWorkflowCondition |
|