示例#1
0
 /**
  * @return null
  */
 public function testIsEnableDisableParentheses()
 {
     $expected = "(leftop = rightop)";
     $this->expr->enableParentheses();
     $this->assertEquals($expected, $this->expr->build());
     $expected = "leftop = rightop";
     $this->expr->disableParentheses();
     $this->assertEquals($expected, $this->expr->build());
 }
示例#2
0
 /**
  * Merely improves readablity. The value of a domain expression is always
  * the operand on the right side.
  * 
  * @return	mixed
  */
 public function getValue()
 {
     return parent::getRightOperand();
 }