| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Collaboration diagram for ilPageQuestionProcessor:Public Member Functions | |
| __construct () | |
Static Public Member Functions | |
| static | saveQuestionAnswer (string $a_type, int $a_id, string $a_answer) | 
| static | getQuestionStatistics (int $a_q_id) | 
| static | calculatePoints (string $a_type, int $a_id, array $a_choice) | 
| Calculate points.  More... | |
| static | getAnswerStatus ( $a_q_id, int $a_user_id=0) | 
| static | resetTries (int $a_q_id, int $a_user_id) | 
| Reset tries for user and question.  More... | |
| static | unlock (int $a_q_id, int $a_user_id) | 
| Unlock question for user.  More... | |
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 Page question processor
Definition at line 24 of file class.ilPageQuestionProcessor.php.
| ilPageQuestionProcessor::__construct | ( | ) | 
Definition at line 26 of file class.ilPageQuestionProcessor.php.
      
  | 
  static | 
Calculate points.
This function calculates the points for a given answer. Better would be to re-use from T&A here in the future. When this code has been written this has not been possible yet.
Definition at line 138 of file class.ilPageQuestionProcessor.php.
References $id, $q, assClozeGap\TYPE_NUMERIC, assClozeGap\TYPE_SELECT, and assClozeGap\TYPE_TEXT.
      
  | 
  static | 
| int | array | $a_q_id | 
Definition at line 282 of file class.ilPageQuestionProcessor.php.
Referenced by ilLMTracker\getBlockedUsersInformation(), ilPCQuestion\getOnloadCode(), ilLMTracker\loadLMTrackingData(), and ilLMPageGUI\processAnswer().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 81 of file class.ilPageQuestionProcessor.php.
References $DIC, $ilDB, and $q.
Referenced by ilLMQuestionListTableGUI\fillRow().
 Here is the caller graph for this function:
      
  | 
  static | 
Reset tries for user and question.
Definition at line 327 of file class.ilPageQuestionProcessor.php.
References $DIC, $ilDB, and $q.
Referenced by ilObjContentObjectGUI\resetNumberOfTries().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 30 of file class.ilPageQuestionProcessor.php.
Referenced by ilPageObjectGUI\processAnswer().
 Here is the caller graph for this function:
      
  | 
  static | 
Unlock question for user.
Definition at line 349 of file class.ilPageQuestionProcessor.php.
References $DIC, $ilDB, and $q.
Referenced by ilObjContentObjectGUI\unlockQuestion().
 Here is the caller graph for this function: