{glyph}` * repeated `scale` times, using the same unicode glyphs (☆ / ★). * * @param int $count Star count (the rating scale). * @param string $glyph Star glyph. * * @return string */ public static function render_stars($count, $glyph) { $stars = ''; for ($i = 1; $i <= $count; $i++) { $stars .= '' . $glyph . ''; } return $stars; } /** * Server-side render for the Review module. * * Mirrors the D4 markup (and the VB edit component) exactly: *