ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
interface.iQuestionCondition.php
Go to the documentation of this file.
1 <?php
10 {
11  const StringResultExpression = '~TEXT~';
13  const NumericResultExpression = '#n#';
14  const MatchingResultExpression = ';n:m;';
15  const OrderingResultExpression = '$n,m,o,p$';
16  const NumberOfResultExpression = '+n+';
17  const ExclusiveResultExpression = '*n,m,o,p*';
18  const EmptyAnswerExpression = "?";
19 
28  public function getOperators($expression);
29 
35  public function getExpressionTypes();
36 
45  public function getUserQuestionResult($active_id, $pass);
46 
55  public function getAvailableAnswerOptions($index = null);
56 }
Class iQuestionCondition.
getOperators($expression)
Get all available operations for a specific question.
$index
Definition: metadata.php:60
getUserQuestionResult($active_id, $pass)
Get the user solution for a question by active_id and the test pass.
getExpressionTypes()
Get all available expression types for a specific question.
getAvailableAnswerOptions($index=null)
If index is null, the function returns an array with all anwser options Else it returns the specific ...