PHP Class ezcWorkflowConditionIsFloat, Workflow

Typically used together with ezcWorkflowConditionVariable to use the condition on a workflow variable.
Inheritance: extends ezcWorkflowConditionType
Afficher le fichier Open project: zetacomponents/workflow Class Usage Examples

Méthodes publiques

Méthode Description
__toString ( ) : string Returns a textual representation of this condition.
evaluate ( mixed $value ) : boolean Evaluates this condition and returns true if $value is a float or false if not.

Method Details

__toString() public méthode

Returns a textual representation of this condition.
public __toString ( ) : string
Résultat string

evaluate() public méthode

Evaluates this condition and returns true if $value is a float or false if not.
public evaluate ( mixed $value ) : boolean
$value mixed
Résultat boolean true when the condition holds, false otherwise.