ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilTestRandomQuestionSetNonAvailablePool Class Reference
+ Collaboration diagram for ilTestRandomQuestionSetNonAvailablePool:

Public Member Functions

 getId ()
 
 setId ($id)
 
 getTitle ()
 
 setTitle ($title)
 
 getPath ()
 
 setPath ($path)
 
 getUnavailabilityStatus ()
 
 setUnavailabilityStatus ($unavailabilityStatus)
 
 assignDbRow ($row)
 

Data Fields

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

Protected Attributes

 $unavailabilityStatus
 
 $id
 
 $title
 
 $path
 

Detailed Description

Member Function Documentation

◆ assignDbRow()

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

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

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

104  {
105  foreach ($row as $field => $value) {
106  switch ($field) {
107  case 'pool_fi': $this->setId($value); break;
108  case 'pool_title': $this->setTitle($value); break;
109  case 'pool_path': $this->setPath($value); break;
110  }
111  }
112  }
+ Here is the call graph for this function:

◆ getId()

ilTestRandomQuestionSetNonAvailablePool::getId ( )

◆ getPath()

ilTestRandomQuestionSetNonAvailablePool::getPath ( )

◆ getTitle()

ilTestRandomQuestionSetNonAvailablePool::getTitle ( )
Returns
string

Definition at line 55 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 47 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

References $id.

Referenced by assignDbRow().

+ Here is the caller graph for this function:

◆ setPath()

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

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

References $path.

Referenced by assignDbRow().

+ Here is the caller graph for this function:

◆ setTitle()

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

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

References $title.

Referenced by assignDbRow().

+ Here is the caller graph for this function:

◆ setUnavailabilityStatus()

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

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

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 34 of file class.ilTestRandomQuestionSetNonAvailablePool.php.

Referenced by getPath(), and setPath().

◆ $title

ilTestRandomQuestionSetNonAvailablePool::$title
protected

Definition at line 29 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: