Example #1
0
 public function SelectAll($limit = NULL, $active = NULL)
 {
     if ($limit) {
         $startpg = pageparam($limit);
         return HDB::hus()->Hselect("patients " . ($active !== NULL && $active != 'all' ? "WHERE active = {$active} " : "") . "LIMIT {$startpg} , {$limit}");
     } else {
         return HDB::hus()->Hselect("patients " . ($active !== NULL && $active != 'all' ? "WHERE active = {$active} " : ""));
     }
 }
 public function SelectAll($limit = null)
 {
     if ($limit) {
         $startpg = pageparam($limit);
         return HDB::hus()->Hselect(H_SYSTEM_ACCESS . " LIMIT {$startpg} , {$limit}");
     } else {
         return HDB::hus()->Hselect(H_SYSTEM_ACCESS . " category");
     }
 }
Example #3
0
 public function SelectAll($limit = NULL)
 {
     if ($limit) {
         $startpg = pageparam($limit);
         return HDB::hus()->Hselect("cards LIMIT {$startpg} , {$limit}");
     } else {
         return HDB::hus()->Hselect("cards");
     }
 }