Beispiel #1
0
 /**
  * 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' => \Aimeos\MW\Criteria\Expression\Combine\PHP::getOperators(), 'compare' => \Aimeos\MW\Criteria\Expression\Compare\PHP::getOperators(), 'sort' => \Aimeos\MW\Criteria\Expression\Sort\PHP::getOperators());
 }
Beispiel #2
0
 public function testGetOperators()
 {
     $expected = array('>', '>=', '<', '<=', '==', '!=');
     $actual = \Aimeos\MW\Criteria\Expression\Compare\PHP::getOperators();
     $this->assertEquals($expected, $actual);
 }