Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 public function index()
 {
     Clover::display('CloverIndex.htm');
 }
Esempio n. 3
0
 public static function displayError(Exception $e)
 {
     Clover::display(Clover::$error_view_file, array('error' => $e));
 }