ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilTestRandomQuestionSetNonAvailablePool.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
11
class
ilTestRandomQuestionSetNonAvailablePool
12
{
13
const
UNAVAILABILITY_STATUS_LOST
=
'lost'
;
14
const
UNAVAILABILITY_STATUS_TRASHED
=
'trashed'
;
15
19
protected
$unavailabilityStatus
;
20
24
protected
$id
;
25
27
protected
$ref_id
= null;
28
32
protected
$title
;
33
37
protected
$path
;
38
42
public
function
getId
()
43
{
44
return
$this->id
;
45
}
46
50
public
function
setId
(
$id
)
51
{
52
$this->
id
=
$id
;
53
}
54
58
public
function
getTitle
()
59
{
60
return
$this->title
;
61
}
62
66
public
function
setTitle
(
$title
)
67
{
68
$this->title =
$title
;
69
}
70
74
public
function
getPath
()
75
{
76
return
$this->path
;
77
}
78
82
public
function
setPath
(
$path
)
83
{
84
$this->path =
$path
;
85
}
86
90
public
function
getUnavailabilityStatus
()
91
{
92
return
$this->unavailabilityStatus
;
93
}
94
98
public
function
setUnavailabilityStatus
(
$unavailabilityStatus
)
99
{
100
$this->unavailabilityStatus =
$unavailabilityStatus
;
101
}
102
103
public
function
getRefId
() : ?int
104
{
105
return
$this->ref_id
;
106
}
107
108
public
function
setRefId
(?
int
$ref_id
) : void
109
{
110
$this->ref_id =
$ref_id
;
111
}
112
116
public
function
assignDbRow
(
$row
)
117
{
118
foreach
(
$row
as $field => $value) {
119
switch
($field) {
120
case
'pool_fi'
: $this->
setId
($value);
break
;
121
case
'pool_ref_id'
: $this->
setRefId
($value ? (
int
) $value : null);
break
;
122
case
'pool_title'
: $this->
setTitle
($value);
break
;
123
case
'pool_path'
: $this->
setPath
($value);
break
;
124
}
125
}
126
}
127
}
ilTestRandomQuestionSetNonAvailablePool\$ref_id
$ref_id
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:27
ilTestRandomQuestionSetNonAvailablePool\$path
$path
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:37
ilTestRandomQuestionSetNonAvailablePool\getTitle
getTitle()
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:58
ilTestRandomQuestionSetNonAvailablePool\$title
$title
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:32
ilTestRandomQuestionSetNonAvailablePool\$id
$id
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:24
ilTestRandomQuestionSetNonAvailablePool\UNAVAILABILITY_STATUS_LOST
const UNAVAILABILITY_STATUS_LOST
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:13
ilTestRandomQuestionSetNonAvailablePool\UNAVAILABILITY_STATUS_TRASHED
const UNAVAILABILITY_STATUS_TRASHED
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:14
ilTestRandomQuestionSetNonAvailablePool\setPath
setPath($path)
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:82
ilTestRandomQuestionSetNonAvailablePool\getUnavailabilityStatus
getUnavailabilityStatus()
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:90
ilTestRandomQuestionSetNonAvailablePool\setTitle
setTitle($title)
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:66
ilTestRandomQuestionSetNonAvailablePool\getRefId
getRefId()
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:103
ilTestRandomQuestionSetNonAvailablePool\setUnavailabilityStatus
setUnavailabilityStatus($unavailabilityStatus)
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:98
ilTestRandomQuestionSetNonAvailablePool\setId
setId($id)
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:50
ilTestRandomQuestionSetNonAvailablePool\getId
getId()
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:42
ilTestRandomQuestionSetNonAvailablePool\getPath
getPath()
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:74
$row
$row
Definition:
migrateto20.php:360
ilTestRandomQuestionSetNonAvailablePool\assignDbRow
assignDbRow($row)
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:116
php
ilTestRandomQuestionSetNonAvailablePool\$unavailabilityStatus
$unavailabilityStatus
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:19
ilTestRandomQuestionSetNonAvailablePool\setRefId
setRefId(?int $ref_id)
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:108
ilTestRandomQuestionSetNonAvailablePool
Definition:
class.ilTestRandomQuestionSetNonAvailablePool.php:11
Modules
Test
classes
class.ilTestRandomQuestionSetNonAvailablePool.php
Generated on Thu Jan 16 2025 19:02:11 for ILIAS by
1.8.13 (using
Doxyfile
)