/** * Static helper to execute a full request for CSS output. This will * instantiate the object, pull the data from $_REQUEST, and then output * the CSS. */ public static function run() { $cssOutput = new self($_REQUEST); if ($cssOutput->handleIfModifiedSinceHeader($_SERVER)) { $cssOutput->displayCss($cssOutput->renderCss()); } }
/** * Static helper to execute a full request for SVG output. This will * instantiate the object, pull the data from $_REQUEST, and then output * the SVG. */ public static function run() { $dependencies = new XenForo_Dependencies_Public(); $dependencies->preLoadData(); $svgOutput = new self($_REQUEST); if ($svgOutput->handleIfModifiedSinceHeader($_SERVER)) { $svgOutput->displaySvg($svgOutput->renderSvg()); } }