PHP Class ComparisonOperation

Exibir arquivo Open project: sourcefabric/newscoop Class Usage Examples

Public Methods

Method Description
__construct ( mix $p_leftOperand, $p_operator, mix $p_rightOperand ) constructor
__toString ( )
getLeftOperand ( ) : mix Returns the left operand
getOperator ( ) : object Returns the operator
getRightOperand ( ) : mix Returns the right operand

Method Details

__construct() public method

constructor
public __construct ( mix $p_leftOperand, $p_operator, mix $p_rightOperand )
$p_leftOperand mix
$p_rightOperand mix

__toString() public method

public __toString ( )

getLeftOperand() public method

Returns the left operand
public getLeftOperand ( ) : mix
return mix

getOperator() public method

Returns the operator
public getOperator ( ) : object
return object of type Operator

getRightOperand() public method

Returns the right operand
public getRightOperand ( ) : mix
return mix