ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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
12{
15
20
24 protected $id;
25
29 protected $title;
30
34 protected $path;
35
39 public function getId()
40 {
41 return $this->id;
42 }
43
47 public function setId($id)
48 {
49 $this->id = $id;
50 }
51
55 public function getTitle()
56 {
57 return $this->title;
58 }
59
63 public function setTitle($title)
64 {
65 $this->title = $title;
66 }
67
71 public function getPath()
72 {
73 return $this->path;
74 }
75
79 public function setPath($path)
80 {
81 $this->path = $path;
82 }
83
87 public function getUnavailabilityStatus()
88 {
90 }
91
96 {
97 $this->unavailabilityStatus = $unavailabilityStatus;
98 }
99
103 public function assignDbRow($row)
104 {
105 foreach($row as $field => $value)
106 {
107 switch($field)
108 {
109 case 'pool_fi': $this->setId($value); break;
110 case 'pool_title': $this->setTitle($value); break;
111 case 'pool_path': $this->setPath($value); break;
112 }
113 }
114 }
115}
An exception for terminatinating execution or to throw for unit testing.