File indexing completed on 2024-11-24 05:19:13
0001 <?php 0002 class HomeController extends EController { 0003 public function index ($args) { 0004 $cat = new RetrieveModel(); 0005 EStructure::view("category_showcase", $cat->getCategories(), $cat->getData()); 0006 0007 } 0008 public function category ($args) { 0009 $cat = new RetrieveModel(); 0010 EStructure::view("category_showcase", $cat->getCategories(), $cat->getCategoryData($args[0])); 0011 0012 } 0013 public function delData ($args) { 0014 $dat = new RetrieveModel(); 0015 $dat->delData($args[0]); 0016 } 0017 0018 public function page ($args) { 0019 $pag = new RetrieveModel(); 0020 EStructure::view("category_showcase", $pag->getCategories(), $pag->getDataPerPage($args[0])); 0021 } 0022 } 0023 ?>