| @@ 157-174 (lines=18) @@ | ||
| 154 | throw new \Exception("Not used"); |
|
| 155 | } |
|
| 156 | ||
| 157 | public function getInputFilter() |
|
| 158 | { |
|
| 159 | if (!$this->inputFilter) { |
|
| 160 | $inputFilter = new InputFilter(); |
|
| 161 | $factory = new InputFactory(); |
|
| 162 | ||
| 163 | $inputFilter = parent::getInputFilter(); |
|
| 164 | ||
| 165 | $inputFilter->add($factory->createInput(array( |
|
| 166 | 'name' => 'drawDate', |
|
| 167 | 'required' => false, |
|
| 168 | ))); |
|
| 169 | ||
| 170 | $this->inputFilter = $inputFilter; |
|
| 171 | } |
|
| 172 | ||
| 173 | return $this->inputFilter; |
|
| 174 | } |
|
| 175 | } |
|
| 176 | ||
| @@ 297-311 (lines=15) @@ | ||
| 294 | throw new \Exception("Not used"); |
|
| 295 | } |
|
| 296 | ||
| 297 | public function getInputFilter() |
|
| 298 | { |
|
| 299 | if (! $this->inputFilter) { |
|
| 300 | $inputFilter = new InputFilter(); |
|
| 301 | $factory = new InputFactory(); |
|
| 302 | ||
| 303 | $inputFilter->add($factory->createInput(array( |
|
| 304 | 'name' => 'game', |
|
| 305 | 'required' => false, |
|
| 306 | ))); |
|
| 307 | $this->inputFilter = $inputFilter; |
|
| 308 | } |
|
| 309 | ||
| 310 | return $this->inputFilter; |
|
| 311 | } |
|
| 312 | } |
|
| 313 | ||
| @@ 564-579 (lines=16) @@ | ||
| 561 | throw new \Exception("Not used"); |
|
| 562 | } |
|
| 563 | ||
| 564 | public function getInputFilter() |
|
| 565 | { |
|
| 566 | if (!$this->inputFilter) { |
|
| 567 | $inputFilter = new InputFilter(); |
|
| 568 | $factory = new InputFactory(); |
|
| 569 | ||
| 570 | $inputFilter->add($factory->createInput(array( |
|
| 571 | 'name' => 'availability', |
|
| 572 | 'required' => false, |
|
| 573 | ))); |
|
| 574 | ||
| 575 | $this->inputFilter = $inputFilter; |
|
| 576 | } |
|
| 577 | ||
| 578 | return $this->inputFilter; |
|
| 579 | } |
|
| 580 | } |
|
| 581 | ||
| @@ 172-191 (lines=20) @@ | ||
| 169 | { |
|
| 170 | } |
|
| 171 | ||
| 172 | public function getInputFilter() |
|
| 173 | { |
|
| 174 | if (! $this->inputFilter) { |
|
| 175 | $inputFilter = new InputFilter(); |
|
| 176 | $factory = new InputFactory(); |
|
| 177 | ||
| 178 | $inputFilter = parent::getInputFilter(); |
|
| 179 | ||
| 180 | // This definition is mandatory for the hydration to work in a form !!!! |
|
| 181 | $inputFilter->add($factory->createInput(array( |
|
| 182 | 'name' => 'missionGames', |
|
| 183 | 'required' => false, |
|
| 184 | ))); |
|
| 185 | ||
| 186 | ||
| 187 | $this->inputFilter = $inputFilter; |
|
| 188 | } |
|
| 189 | ||
| 190 | return $this->inputFilter; |
|
| 191 | } |
|
| 192 | } |
|
| 193 | ||