ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 
Create styles array
The data for the language used.
Class ilOperatorsExpressionMapping.