ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilTestRandomQuestionSetNonAvailablePool Class Reference
+ Collaboration diagram for ilTestRandomQuestionSetNonAvailablePool:

Public Member Functions

 getId ()
 
 setId (int $id)
 
 getTitle ()
 
 setTitle (string $title)
 
 getPath ()
 
 setPath (string $path)
 
 getUnavailabilityStatus ()
 
 setUnavailabilityStatus (string $unavailability_status)
 
 getRefId ()
 
 setRefId (?int $ref_id)
 
 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 88 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

References null, setId(), setPath(), setRefId(), and setTitle().

88  : void
89  {
90  foreach ($row as $field => $value) {
91  switch ($field) {
92  case 'pool_fi': $this->setId($value);
93  break;
94  case 'pool_ref_id': $this->setRefId($value ? (int) $value : null);
95  break;
96  case 'pool_title': $this->setTitle($value);
97  break;
98  case 'pool_path': $this->setPath($value);
99  break;
100  }
101  }
102  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
+ Here is the call graph for this function:

◆ getId()

ilTestRandomQuestionSetNonAvailablePool::getId ( )

◆ getPath()

ilTestRandomQuestionSetNonAvailablePool::getPath ( )

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

References $path.

◆ getRefId()

ilTestRandomQuestionSetNonAvailablePool::getRefId ( )

◆ getTitle()

ilTestRandomQuestionSetNonAvailablePool::getTitle ( )

Definition at line 48 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 ( int  $id)

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

References $id.

Referenced by assignDbRow().

+ Here is the caller graph for this function:

◆ setPath()

ilTestRandomQuestionSetNonAvailablePool::setPath ( string  $path)

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

References $path.

Referenced by assignDbRow().

63  : void
64  {
65  $this->path = $path;
66  }
+ Here is the caller graph for this function:

◆ setRefId()

ilTestRandomQuestionSetNonAvailablePool::setRefId ( ?int  $ref_id)

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

References $ref_id.

Referenced by assignDbRow().

83  : void
84  {
85  $this->ref_id = $ref_id;
86  }
+ Here is the caller graph for this function:

◆ setTitle()

ilTestRandomQuestionSetNonAvailablePool::setTitle ( string  $title)

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

References $title.

Referenced by assignDbRow().

53  : void
54  {
55  $this->title = $title;
56  }
+ Here is the caller graph for this function:

◆ setUnavailabilityStatus()

ilTestRandomQuestionSetNonAvailablePool::setUnavailabilityStatus ( string  $unavailability_status)

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

References $unavailability_status.

73  : void
74  {
75  $this->unavailability_status = $unavailability_status;
76  }

Field Documentation

◆ $id

int ilTestRandomQuestionSetNonAvailablePool::$id
protected

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

Referenced by getId(), and setId().

◆ $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(), and setRefId().

◆ $title

string ilTestRandomQuestionSetNonAvailablePool::$title
protected

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

Referenced by getTitle(), and setTitle().

◆ $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: