ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilTestRandomQuestionSetNonAvailablePool Class Reference
+ Collaboration diagram for ilTestRandomQuestionSetNonAvailablePool:

Public Member Functions

 getId ()
 
 setId ($id)
 
 getTitle ()
 
 setTitle ($title)
 
 getPath ()
 
 setPath ($path)
 
 getUnavailabilityStatus ()
 
 setUnavailabilityStatus ($unavailabilityStatus)
 
 getRefId ()
 
 setRefId (?int $ref_id)
 
 assignDbRow ($row)
 

Data Fields

const UNAVAILABILITY_STATUS_LOST = 'lost'
 
const UNAVAILABILITY_STATUS_TRASHED = 'trashed'
 

Protected Attributes

 $unavailabilityStatus
 
 $id
 
 $ref_id = null
 
 $title
 
 $path
 

Detailed Description

Member Function Documentation

◆ assignDbRow()

ilTestRandomQuestionSetNonAvailablePool::assignDbRow (   $row)
Parameters
array$row

Definition at line 116 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

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 }
$row

References $row, setId(), setPath(), setRefId(), and setTitle().

+ Here is the call graph for this function:

◆ getId()

ilTestRandomQuestionSetNonAvailablePool::getId ( )

◆ getPath()

ilTestRandomQuestionSetNonAvailablePool::getPath ( )

◆ getRefId()

ilTestRandomQuestionSetNonAvailablePool::getRefId ( )

◆ getTitle()

ilTestRandomQuestionSetNonAvailablePool::getTitle ( )
Returns
string

Definition at line 58 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

References $title.

Referenced by ilTestRandomQuestionSetPoolDeriver\createNewPool().

+ Here is the caller graph for this function:

◆ getUnavailabilityStatus()

ilTestRandomQuestionSetNonAvailablePool::getUnavailabilityStatus ( )

◆ setId()

ilTestRandomQuestionSetNonAvailablePool::setId (   $id)
Parameters
int$id

Definition at line 50 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

51 {
52 $this->id = $id;
53 }

References $id.

Referenced by assignDbRow().

+ Here is the caller graph for this function:

◆ setPath()

ilTestRandomQuestionSetNonAvailablePool::setPath (   $path)
Parameters
string$path

Definition at line 82 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

83 {
84 $this->path = $path;
85 }

References $path.

Referenced by assignDbRow().

+ Here is the caller graph for this function:

◆ setRefId()

ilTestRandomQuestionSetNonAvailablePool::setRefId ( ?int  $ref_id)

Definition at line 108 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

108 : void
109 {
110 $this->ref_id = $ref_id;
111 }

References $ref_id.

Referenced by assignDbRow().

+ Here is the caller graph for this function:

◆ setTitle()

ilTestRandomQuestionSetNonAvailablePool::setTitle (   $title)
Parameters
string$title

Definition at line 66 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

67 {
68 $this->title = $title;
69 }

References $title.

Referenced by assignDbRow().

+ Here is the caller graph for this function:

◆ setUnavailabilityStatus()

ilTestRandomQuestionSetNonAvailablePool::setUnavailabilityStatus (   $unavailabilityStatus)
Parameters
string$unavailabilityStatus

Definition at line 98 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

99 {
100 $this->unavailabilityStatus = $unavailabilityStatus;
101 }

References $unavailabilityStatus.

Field Documentation

◆ $id

ilTestRandomQuestionSetNonAvailablePool::$id
protected

Definition at line 24 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

Referenced by getId(), and setId().

◆ $path

ilTestRandomQuestionSetNonAvailablePool::$path
protected

Definition at line 37 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

Referenced by getPath(), and setPath().

◆ $ref_id

ilTestRandomQuestionSetNonAvailablePool::$ref_id = null
protected

Definition at line 27 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

Referenced by getRefId(), and setRefId().

◆ $title

ilTestRandomQuestionSetNonAvailablePool::$title
protected

Definition at line 32 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

Referenced by getTitle(), and setTitle().

◆ $unavailabilityStatus

ilTestRandomQuestionSetNonAvailablePool::$unavailabilityStatus
protected

◆ UNAVAILABILITY_STATUS_LOST

const ilTestRandomQuestionSetNonAvailablePool::UNAVAILABILITY_STATUS_LOST = 'lost'

◆ UNAVAILABILITY_STATUS_TRASHED

const ilTestRandomQuestionSetNonAvailablePool::UNAVAILABILITY_STATUS_TRASHED = 'trashed'

The documentation for this class was generated from the following file: