ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ 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
{
47
require_once
'Modules/TestQuestionPool/classes/class.assQuestion.php'
;
48
$this->question =
assQuestion::_instantiateQuestion
($this->questionId);
49
}
50
51
return
$this->question
;
52
}
53
}
54
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:3345
ilAssLacQuestionProvider
Class ilParserQuestionProvider.
Definition:
ilAssLacQuestionProvider.php:12
ilAssLacQuestionProvider\$questionId
$questionId
Definition:
ilAssLacQuestionProvider.php:22
php
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 Fri Jan 17 2025 19:01:06 for ILIAS by
1.8.13 (using
Doxyfile
)