Example #1
0
 public function show()
 {
     $view = new ViewModel('admin/customers');
     $customerModel = new CustomerModel();
     $view->assign('customers', $customerModel->selectAll());
     $view->display();
 }