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"); } }
public function SelectAll($limit = NULL) { if ($limit) { $startpg = pageparam($limit); return HDB::hus()->Hselect("cards LIMIT {$startpg} , {$limit}"); } else { return HDB::hus()->Hselect("cards"); } }