Example #1
0
 function get_index()
 {
     $data['welcome'] = 'Hello World';
     View::response('home.index', $data);
 }
Example #2
0
 public function get_index($value)
 {
     $data['error'] = $value;
     View::response('error.index', $data);
 }