| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | function render() |
||
| 30 | { |
||
| 31 | $id = htmlentities($this->name); |
||
| 32 | echo '<label style="background-color: #c0c0c0; padding: 5px; margin: 2px;" for="imgparam_' . $id . '" title="' . htmlentities($this->hint) . '">'; |
||
| 33 | echo $this->name . ': '; |
||
| 34 | $this->renderBody($id, 'imgparam_' . $id); |
||
| 35 | echo '</label> '; |
||
| 36 | } |
||
| 53 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.