ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
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 
17  private static $mappings = array(
18  iQuestionCondition::PercentageResultExpression => array("<", "<=", "=", ">=", ">", "<>"),
19  iQuestionCondition::NumericResultExpression => array("<", "<=", "=", ">=", ">", "<>"),
26  );
27 
33  public static function getOperatorsByExpression($expression)
34  {
35  return self::$mappings[$expression];
36  }
37 
38  public static function getAll()
39  {
40  return self::$mappings;
41  }
42 }
43 
Class ilOperatorsExpressionMapping.