. /** * Local inline SVG icons (air-gapped — no CDN). * * @package mod_meetletacbmarketplace * @copyright 2026 MeetLet * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace mod_meetletacbmarketplace\local; defined('MOODLE_INTERNAL') || die(); /** * Shared MeetLet icon SVG snippets. */ class icons { /** * Return inline SVG markup for a named icon. */ public static function svg(string $name): string { $svgs = [ 'play' => '', 'zip' => '', 'offline' => '', 'mp4' => '', 'import' => '', 'request' => '', 'edit' => '', 'adobeedit' => '', 'users' => '', 'csv' => '', 'refresh' => '', 'update' => '', 'download' => '', 'details' => '', 'attendance' => '', 'recordings' => '', 'content' => '', 'sessions' => '', ]; return $svgs[$name] ?? $svgs['play']; } }