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