19 declare(strict_types=1);
    34             $dic[
'component.factory'],
    35             $dic[
'component.repository']
    44         return $this->general_questions_repository->getForQuestionId($question_id);
    54         return $this->general_questions_repository->areQuestionsAnsweredByUser($user_id, $question_ids);
 
getGeneralQuestionProperties(int $question_id)
Returns an object containing the basic properties shared by all question types. 
 
__construct(Container $dic)
 
Customizing of pimple-DIC for ILIAS. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
GeneralQuestionPropertiesRepository $general_questions_repository
 
areQuestionsAnsweredByUser(int $user_id, array $question_ids)
Checks if an array of question ids is answered by a user or not.