'index', '$Action' => '$Action', '$Action//$Action/$ID' => 'handleAction', ); function index() { $renderer = new DebugView(); $renderer->writeHeader(); $renderer->writeInfo("Sapphire Development Tools", Director::absoluteBaseURL()); echo <<
HTML; $renderer->writeFooter(); } function tests($request) { $controller = new TestRunner(); return $controller->handleRequest($request); } function tasks() { $controller = new TaskRunner(); return $controller->handleRequest($request); } function viewcode($request) { $controller = new CodeViewer(); return $controller->handleRequest($request); } } ?>