public function testGetOperators() { $expected = array('&&', '||', '!'); $actual = MW_Common_Criteria_Expression_Combine_PHP::getOperators(); $this->assertEquals($expected, $actual); }
/** * Returns the available compare, combine and sort operators. * * @return array Associative list of lists (compare, combine, sort) containing the available operators */ public function getOperators() { return array('combine' => MW_Common_Criteria_Expression_Combine_PHP::getOperators(), 'compare' => MW_Common_Criteria_Expression_Compare_PHP::getOperators(), 'sort' => MW_Common_Criteria_Expression_Sort_PHP::getOperators()); }