PHP Class ezcWorkflowConditionComparison, Workflow

Inheritance: implements ezcWorkflowCondition
Show file Open project: zetacomponents/workflow

Protected Properties

Property Type Description
$operator mixed Textual representation of the comparison operator.
$value mixed The value that this condition compares against.

Public Methods

Method Description
__construct ( mixed $value = null ) Constructs a new comparison condition.
__toString ( ) : string Returns a textual representation of this condition.
getOperator ( ) : string Returns the operator.
getValue ( ) : mixed Returns the value that this condition compares against.
setValue ( mixed $value ) Sets the value that this condition compares against.

Method Details

__construct() public method

Implemenations will compare $value to the value provided to evaluate().
public __construct ( mixed $value = null )
$value mixed

__toString() public method

Returns a textual representation of this condition.
public __toString ( ) : string
return string

getOperator() public method

Returns the operator.
public getOperator ( ) : string
return string

getValue() public method

Returns the value that this condition compares against.
public getValue ( ) : mixed
return mixed

setValue() public method

Sets the value that this condition compares against.
public setValue ( mixed $value )
$value mixed

Property Details

$operator protected property

Textual representation of the comparison operator.
protected mixed $operator
return mixed

$value protected property

The value that this condition compares against.
protected mixed $value
return mixed