Esempio n. 1
0
 static function getHTMLtable($table, QueryString $querystring, $arrayitems = [])
 {
     switch ($table) {
         case 'address':
             return Render::AddressHtmlTable($arrayitems, $querystring);
         case 'category':
             return Render::categoryHtmlTable($arrayitems, $querystring);
         case 'message':
             return Render::messageHtmlTable($arrayitems, $querystring);
         case 'product':
             return Render::productHtmlTable($arrayitems, $querystring);
         case 'sale':
             return Render::saleHtmlTable($arrayitems, $querystring);
         case 'user':
             return Render::userHtmlTable($arrayitems, $querystring);
     }
 }