ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilOperatorsExpressionMapping.php
Go to the documentation of this file.
1 <?php
2 
3 require_once "./Modules/TestQuestionPool/interfaces/interface.iQuestionCondition.php";
4 
13 {
14 
18  private static $mappings = array(
19  iQuestionCondition::PercentageResultExpression => array("<", "<=", "=", ">=", ">", "<>"),
20  iQuestionCondition::NumericResultExpression => array("<", "<=", "=", ">=", ">", "<>"),
27  );
28 
34  public static function getOperatorsByExpression($expression)
35  {
36  return self::$mappings[$expression];
37  }
38 
39  public static function getAll()
40  {
41  return self::$mappings;
42  }
43 }
Class ilOperatorsExpressionMapping.