ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
interface.iQuestionCondition.php
Go to the documentation of this file.
1<?php
10
11 const StringResultExpression = '~TEXT~';
14 const MatchingResultExpression = ';n:m;';
15 const OrderingResultExpression = '$n,m,o,p$';
17 const ExclusiveResultExpression = '*n,m,o,p*';
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.
getExpressionTypes()
Get all available expression types for a specific question.
getUserQuestionResult($active_id, $pass)
Get the user solution for a question by active_id and the test pass.
getOperators($expression)
Get all available operations 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 ...