ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
class.ilOperatorsExpressionMapping.php
Go to the documentation of this file.
1 <?php
2 
27 {
31  private static $mappings = [
32  iQuestionCondition::PercentageResultExpression => ["<", "<=", "=", ">=", ">", "<>"],
33  iQuestionCondition::NumericResultExpression => ["<", "<=", "=", ">=", ">", "<>"],
40  ];
41 
42  public static function getOperatorsByExpression(string $expression): array
43  {
44  return self::$mappings[$expression];
45  }
46 
47  public static function getAll(): array
48  {
49  return self::$mappings;
50  }
51 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...