File indexing completed on 2024-11-24 05:19:13

0001 <?php
0002 class CategoryController extends EController {
0003   public function category ($args) {
0004     $cat = new RetrieveModel();
0005     EStructure::view("category_showcase", $cat->getCategories(), $cat->getCategoryData($args[0]));
0006 
0007   }
0008   public function delData ($args) {
0009     $dat = new RetrieveModel(); 
0010     $dat->delData($args[0]);
0011   }
0012 
0013   public function page ($args) {
0014     $pag = new RetrieveModel();
0015     EStructure::view("category_showcase", $pag->getCategories(), $pag->getDataPerPage($args[0]));
0016   }
0017 }
0018 ?>