0
OP New Sysop Apr 18, 2026 12:03pm (edited 2x) view history

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

Log in or register to reply to this thread.

We use cookies to enhance your experience on 6502ish.com. Essential cookies keep the site running. Analytics cookies help us understand how the site is used. Cookie Settings | Privacy Policy