| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | protected function meteoconsIcon($name, $style) { |
||
| 43 | |||
| 44 | // Initialize the attributes. |
||
| 45 | $attributes = []; |
||
| 46 | |||
| 47 | $attributes["class"] = "meteocons"; |
||
| 48 | $attributes["data-meteocons"] = $name; |
||
| 49 | $attributes["style"] = $style; |
||
| 50 | |||
| 51 | // Return the HTML. |
||
| 52 | return static::coreHTMLElement("i", null, $attributes); |
||
| 53 | } |
||
| 54 | |||
| 56 |