ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilOperatorsExpressionMapping.php
Go to the documentation of this file.
1<?php
2
3require_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.