/** * It is routed as CLOVER_ROOT/CloverInfoTest * It displays request information */ function index() { $assignment = array('title' => 'INDEX', 'get' => Clover::getQuery(), 'post' => Clover::getData(), 'request' => Clover::getRequest(), 'server' => Clover::getServer(), 'controller_index' => Clover::getControllerIndex(), 'controller' => Clover::getController()); Clover::display('CloverInfoTest.htm', $assignment); }
public function index() { Clover::display('CloverIndex.htm'); }
public static function displayError(Exception $e) { Clover::display(Clover::$error_view_file, array('error' => $e)); }