| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | 1 | public function statusHelp() |
|
| 16 | { |
||
| 17 | 1 | $result = '<ul class="statusHelp">'; |
|
| 18 | 1 | $result .= '<li>' . $this->view->rating(Status::Need) . ': ' . $this->view->translate('I want to see this movie') . '</li>'; |
|
| 19 | 1 | $result .= '<li>' . $this->view->rating(Status::Bad) . ': ' . $this->view->translate('Boring movie, I wasted my time') . '</li>'; |
|
| 20 | 1 | $result .= '<li>' . $this->view->rating(Status::Ok) . ': ' . $this->view->translate('Enjoyable movie (most movies)') . '</li>'; |
|
| 21 | 1 | $result .= '<li>' . $this->view->rating(Status::Excellent) . ': ' . $this->view->translate('Excellent, I would watch it twice') . '</li>'; |
|
| 22 | 1 | $result .= '<li>' . $this->view->rating(Status::Favorite) . ': ' . $this->view->translate('Incredibly awesome, the kind of movie you must watch many times regularly') . '</li>'; |
|
| 23 | 1 | $result .= '</ul>'; |
|
| 24 | |||
| 25 | 1 | return $result; |
|
| 26 | } |
||
| 28 |