ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
ilTestRandomQuestionSetNonAvailablePool Class Reference
+ Collaboration diagram for ilTestRandomQuestionSetNonAvailablePool:

Public Member Functions

 getId ()
 
 getTitle ()
 
 getPath ()
 
 setPath (string $path)
 
 getUnavailabilityStatus ()
 
 setUnavailabilityStatus (string $unavailability_status)
 
 getRefId ()
 
 assignDbRow (array $row)
 

Data Fields

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

Protected Attributes

string $unavailability_status
 
int $id
 
int $ref_id = null
 
string $title
 
string $path
 

Detailed Description

Member Function Documentation

◆ assignDbRow()

ilTestRandomQuestionSetNonAvailablePool::assignDbRow ( array  $row)

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

73 : void
74 {
75 foreach ($row as $field => $value) {
76 switch ($field) {
77 case 'pool_fi':
78 $this->id = $value;
79 break;
80 case 'pool_ref_id':
81 $this->ref_id = $value === null
82 ? null
83 : (int) $value;
84 break;
85 case 'pool_title':
86 $this->title = $value;
87 break;
88 case 'pool_path':
89 $this->path = $value;
90 break;
91 }
92 }
93 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getId()

ilTestRandomQuestionSetNonAvailablePool::getId ( )

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

References $id.

Referenced by ilTestRandomQuestionSetSourcePoolDefinitionList\addLostPool().

+ Here is the caller graph for this function:

◆ getPath()

ilTestRandomQuestionSetNonAvailablePool::getPath ( )

◆ getRefId()

ilTestRandomQuestionSetNonAvailablePool::getRefId ( )

◆ getTitle()

ilTestRandomQuestionSetNonAvailablePool::getTitle ( )

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

References $title.

Referenced by ilTestRandomQuestionSetPoolDeriver\createNewPool().

+ Here is the caller graph for this function:

◆ getUnavailabilityStatus()

ilTestRandomQuestionSetNonAvailablePool::getUnavailabilityStatus ( )

◆ setPath()

ilTestRandomQuestionSetNonAvailablePool::setPath ( string  $path)

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

53 : void
54 {
55 $this->path = $path;
56 }

References $path.

◆ setUnavailabilityStatus()

ilTestRandomQuestionSetNonAvailablePool::setUnavailabilityStatus ( string  $unavailability_status)

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

63 : void
64 {
65 $this->unavailability_status = $unavailability_status;
66 }

References $unavailability_status.

Field Documentation

◆ $id

int ilTestRandomQuestionSetNonAvailablePool::$id
protected

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

Referenced by getId().

◆ $path

string ilTestRandomQuestionSetNonAvailablePool::$path
protected

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

Referenced by getPath(), and setPath().

◆ $ref_id

int ilTestRandomQuestionSetNonAvailablePool::$ref_id = null
protected

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

Referenced by getRefId().

◆ $title

string ilTestRandomQuestionSetNonAvailablePool::$title
protected

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

Referenced by getTitle().

◆ $unavailability_status

string ilTestRandomQuestionSetNonAvailablePool::$unavailability_status
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: