ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 }
Create styles array
The data for the language used.
Class ilOperatorsExpressionMapping.