public function index() { $brandDAO = new BrandDAO(DataSource::getInstance()); $this->registry->template->brands = $brandDAO->findByAll_Show(); $this->registry->template->tile_title = 'Danh sách nhãn hiệu'; $this->registry->template->tile_content = 'admin/brand-index.php'; $this->registry->template->show('admin/layout/admin.php'); }