Source: src/Helpers/IconHelper.php
Overview
Renders icon fields that can be either:
- HTML entities (emoji): 🏆 or raw emoji
- Font Awesome classes: fa-solid fa-trophy, fa-regular fa-star, etc.
Public methods
render(string $icon, string $extraClass = '', string $extraStyle = ''): string
Render an icon field as HTML. If the value starts with "fa-" or "fas ", "far ", "fab ", etc., render as FA <i> tag. Otherwise render as raw HTML (emoji entity).
Auto-generated from source by bin/sync-class-docs.php on 2026-04-18 12:16 CDT. Re-runs overwrite this thread body.
. __ ____ ___ ____ _ _
/ /_| ___| / _ \___ \(_)___| |__
| '_ \___ \| | | |__) | / __| '_ \
| (_) |__) | |_| / __/| \__ \ | | |
\___/____/ \___/_____|_|___/_| |_|
D2sk - Sysop