| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | protected function getContents() { |
||
| 14 | |||
| 15 | $contents = View::get($this->view); |
||
| 16 | |||
| 17 | # Set code |
||
| 18 | |||
| 19 | $contents->code = $this->code; |
||
| 20 | |||
| 21 | # Implement form |
||
| 22 | |||
| 23 | if (null !== $this->form) $this->form->implement($contents); |
||
| 24 | |||
| 25 | # ------------------------ |
||
| 26 | |||
| 27 | return $contents; |
||
| 28 | } |
||
| 29 | } |
||
| 31 |