| @@ 184-194 (lines=11) @@ | ||
| 181 | * Regime |
|
| 182 | * @return absences_Collection |
|
| 183 | */ |
|
| 184 | public function getCollection() |
|
| 185 | { |
|
| 186 | ||
| 187 | if (!isset($this->collection)) |
|
| 188 | { |
|
| 189 | $row = $this->getRow(); |
|
| 190 | $this->collection = absences_Collection::getById($row['id_coll']); |
|
| 191 | } |
|
| 192 | ||
| 193 | return $this->collection; |
|
| 194 | } |
|
| 195 | ||
| 196 | ||
| 197 | ||
| @@ 125-134 (lines=10) @@ | ||
| 122 | /** |
|
| 123 | * @return absences_Collection |
|
| 124 | */ |
|
| 125 | public function getCollection() |
|
| 126 | { |
|
| 127 | if (!isset($this->collection)) |
|
| 128 | { |
|
| 129 | $row = $this->getRow(); |
|
| 130 | $this->collection = absences_Collection::getById($row['id_coll']); |
|
| 131 | } |
|
| 132 | ||
| 133 | return $this->collection; |
|
| 134 | } |
|
| 135 | } |
|
| 136 | ||
| 137 | ||