ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilOperatorsExpressionMapping.php
Go to the documentation of this file.
1<?php
2
27{
31 private static $mappings = [
32 iQuestionCondition::PercentageResultExpression => ["<", "<=", "=", ">=", ">", "<>"],
33 iQuestionCondition::NumericResultExpression => ["<", "<=", "=", ">=", ">", "<>"],
40 ];
41
42 public static function getOperatorsByExpression(string $expression): array
43 {
44 return self::$mappings[$expression];
45 }
46
47 public static function getAll(): array
48 {
49 return self::$mappings;
50 }
51}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getOperatorsByExpression(string $expression)