| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | 1 | public function getHTML() |
|
| 18 | { |
||
| 19 | 1 | $details = $this->getHTMLDetails(); |
|
| 20 | 1 | extract($details); |
|
|
|
|||
| 21 | |||
| 22 | return <<<EOD |
||
| 23 | 1 | <{$wrapperElement}{$wrapperClass}> |
|
| 24 | 1 | <label for='$id'>$label</label>$brAfterLabel |
|
| 25 | 1 | <input id='$id'{$type}{$class}{$name}{$value}{$autofocus}{$required}{$readonly}{$placeholder}{$title}{$multiple}{$pattern}{$maxlength}{$max}{$min}{$step}/> |
|
| 26 | 1 | {$messages} |
|
| 27 | 1 | </{$wrapperElement}> |
|
| 28 | 1 | <p class='cf-desc'>{$description}</p> |
|
| 29 | EOD; |
||
| 32 |