ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
ilAssLacQuestionProvider.php
Go to the documentation of this file.
1
<?php
2
3
require_once
'Modules/TestQuestionPool/classes/class.assQuestion.php'
;
4
12
class
ilAssLacQuestionProvider
13
{
14
/*
15
* @var iQuestionCondition
16
*/
17
protected
$question
;
18
22
protected
$questionId
;
23
27
public
function
setQuestionId
(
$questionId
)
28
{
29
$this->questionId =
$questionId
;
30
}
31
35
public
function
setQuestion
(
iQuestionCondition
$question
)
36
{
37
$this->question =
$question
;
38
}
39
43
public
function
getQuestion
()
44
{
45
if
($this->question === null && $this->questionId) {
46
require_once
'Modules/TestQuestionPool/classes/class.assQuestion.php'
;
47
$this->question =
assQuestion::_instantiateQuestion
($this->questionId);
48
}
49
50
return
$this->question
;
51
}
52
}
ilAssLacQuestionProvider\$question
$question
Definition:
ilAssLacQuestionProvider.php:17
iQuestionCondition
Class iQuestionCondition.
Definition:
interface.iQuestionCondition.php:9
ilAssLacQuestionProvider\setQuestionId
setQuestionId($questionId)
Definition:
ilAssLacQuestionProvider.php:27
assQuestion\_instantiateQuestion
static _instantiateQuestion($question_id)
Definition:
class.assQuestion.php:3206
ilAssLacQuestionProvider
Class ilParserQuestionProvider.
Definition:
ilAssLacQuestionProvider.php:12
ilAssLacQuestionProvider\$questionId
$questionId
Definition:
ilAssLacQuestionProvider.php:22
ilAssLacQuestionProvider\getQuestion
getQuestion()
Definition:
ilAssLacQuestionProvider.php:43
ilAssLacQuestionProvider\setQuestion
setQuestion(iQuestionCondition $question)
Definition:
ilAssLacQuestionProvider.php:35
Modules
TestQuestionPool
classes
questions
LogicalAnswerCompare
ilAssLacQuestionProvider.php
Generated on Sat Jan 18 2025 19:01:24 for ILIAS by
1.8.13 (using
Doxyfile
)