| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for iQuestionCondition:
 Collaboration diagram for iQuestionCondition:Public Member Functions | |
| getOperators ($expression) | |
| Get all available operations for a specific question.  More... | |
| getExpressionTypes () | |
| Get all available expression types for a specific question.  More... | |
| getUserQuestionResult ($active_id, $pass) | |
| Get the user solution for a question by active_id and the test pass.  More... | |
| getAvailableAnswerOptions ($index=null) | |
| If index is null, the function returns an array with all anwser options Else it returns the specific answer option.  More... | |
Data Fields | |
| const | StringResultExpression = '~TEXT~' | 
| const | PercentageResultExpression = '%n%' | 
| const | NumericResultExpression = '#n#' | 
| const | MatchingResultExpression = ';n:m;' | 
| const | OrderingResultExpression = '$n,m,o,p$' | 
| const | NumberOfResultExpression = '+n+' | 
| const | ExclusiveResultExpression = '*n,m,o,p*' | 
| const | EmptyAnswerExpression = "?" | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class iQuestionCondition
Date: 02.12.13 Time: 14:02
Definition at line 25 of file interface.iQuestionCondition.php.
| iQuestionCondition::getAvailableAnswerOptions | ( | $index = null | ) | 
If index is null, the function returns an array with all anwser options Else it returns the specific answer option.
| null | int | $index | 
Implemented in assClozeTest, assMatchingQuestion, assFormulaQuestion, assOrderingQuestion, assMultipleChoice, assSingleChoice, assErrorText, assImagemapQuestion, assTextSubset, assOrderingHorizontal, and assNumeric.
| iQuestionCondition::getExpressionTypes | ( | ) | 
Get all available expression types for a specific question.
Implemented in assClozeTest, assMatchingQuestion, assFormulaQuestion, assOrderingQuestion, assMultipleChoice, assSingleChoice, assImagemapQuestion, assErrorText, assTextSubset, assOrderingHorizontal, and assNumeric.
| iQuestionCondition::getOperators | ( | $expression | ) | 
Get all available operations for a specific question.
| $expression | 
Implemented in assClozeTest, assMatchingQuestion, assFormulaQuestion, assOrderingQuestion, assMultipleChoice, assSingleChoice, assImagemapQuestion, assErrorText, assTextSubset, assOrderingHorizontal, and assNumeric.
| iQuestionCondition::getUserQuestionResult | ( | $active_id, | |
| $pass | |||
| ) | 
Get the user solution for a question by active_id and the test pass.
| int | $active_id | |
| int | $pass | 
Implemented in assMatchingQuestion, and assErrorText.
Referenced by assNumeric\getExpressionTypes(), assOrderingHorizontal\getExpressionTypes(), assTextSubset\getExpressionTypes(), assImagemapQuestion\getExpressionTypes(), assSingleChoice\getExpressionTypes(), assMultipleChoice\getExpressionTypes(), assOrderingQuestion\getExpressionTypes(), assFormulaQuestion\getExpressionTypes(), and assClozeTest\getExpressionTypes().
 Here is the caller graph for this function:| const iQuestionCondition::EmptyAnswerExpression = "?" | 
Definition at line 34 of file interface.iQuestionCondition.php.
Referenced by ilAssLacLegendGUI\getAvailableExpressionTypes(), assNumeric\getExpressionTypes(), assTextSubset\getExpressionTypes(), assErrorText\getExpressionTypes(), assImagemapQuestion\getExpressionTypes(), assSingleChoice\getExpressionTypes(), assMultipleChoice\getExpressionTypes(), assOrderingQuestion\getExpressionTypes(), assFormulaQuestion\getExpressionTypes(), assMatchingQuestion\getExpressionTypes(), and assClozeTest\getExpressionTypes().
| const iQuestionCondition::ExclusiveResultExpression = '*n,m,o,p*' | 
Definition at line 33 of file interface.iQuestionCondition.php.
Referenced by ilAssLacLegendGUI\getAvailableExpressionTypes(), assErrorText\getExpressionTypes(), assImagemapQuestion\getExpressionTypes(), and assMultipleChoice\getExpressionTypes().
| const iQuestionCondition::MatchingResultExpression = ';n:m;' | 
Definition at line 30 of file interface.iQuestionCondition.php.
Referenced by ilAssLacLegendGUI\getAvailableExpressionTypes(), and assMatchingQuestion\getExpressionTypes().
| const iQuestionCondition::NumberOfResultExpression = '+n+' | 
Definition at line 32 of file interface.iQuestionCondition.php.
Referenced by ilAssLacLegendGUI\getAvailableExpressionTypes(), assErrorText\getExpressionTypes(), assImagemapQuestion\getExpressionTypes(), assSingleChoice\getExpressionTypes(), assMultipleChoice\getExpressionTypes(), and assClozeTest\getExpressionTypes().
| const iQuestionCondition::NumericResultExpression = '#n#' | 
Definition at line 29 of file interface.iQuestionCondition.php.
Referenced by ilAssLacLegendGUI\getAvailableExpressionTypes(), assNumeric\getExpressionTypes(), assOrderingHorizontal\getExpressionTypes(), assTextSubset\getExpressionTypes(), assOrderingQuestion\getExpressionTypes(), assFormulaQuestion\getExpressionTypes(), assMatchingQuestion\getExpressionTypes(), and assClozeTest\getExpressionTypes().
| const iQuestionCondition::OrderingResultExpression = '$n,m,o,p$' | 
Definition at line 31 of file interface.iQuestionCondition.php.
Referenced by ilAssLacLegendGUI\getAvailableExpressionTypes(), assOrderingHorizontal\getExpressionTypes(), and assOrderingQuestion\getExpressionTypes().
| const iQuestionCondition::PercentageResultExpression = '%n%' | 
Definition at line 28 of file interface.iQuestionCondition.php.
Referenced by ilAssLacLegendGUI\getAvailableExpressionTypes(), assNumeric\getExpressionTypes(), assOrderingHorizontal\getExpressionTypes(), assTextSubset\getExpressionTypes(), assErrorText\getExpressionTypes(), assImagemapQuestion\getExpressionTypes(), assSingleChoice\getExpressionTypes(), assMultipleChoice\getExpressionTypes(), assOrderingQuestion\getExpressionTypes(), assFormulaQuestion\getExpressionTypes(), assMatchingQuestion\getExpressionTypes(), and assClozeTest\getExpressionTypes().
| const iQuestionCondition::StringResultExpression = '~TEXT~' | 
Definition at line 27 of file interface.iQuestionCondition.php.
Referenced by ilAssLacLegendGUI\getAvailableExpressionTypes(), assOrderingHorizontal\getExpressionTypes(), assTextSubset\getExpressionTypes(), and assClozeTest\getExpressionTypes().