public static function output() { if (CSScaffold::config('core.options.output') == "typography") { # Make sure we're sending HTML header('Content-Type: text/html'); # Load the test suite markup $type = CSScaffold::load_view('TS_typography'); # Echo and out! echo $type; exit; } }
public static function output() { if (CSScaffold::config('core.options.output') == "grid" && isset(self::$column_width)) { # Make sure we're sending HTML header('Content-Type: text/html'); # Load the test suite markup $page = CSScaffold::load_view('Layout_grid'); # Echo and out! echo $page; exit; } }