ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 {
14  const UNAVAILABILITY_STATUS_TRASHED = 'trashed';
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  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  }
113 }