function batchDelete($p, $ids)
 {
     $c = new Subclass($this->db_conn);
     $i = 0;
     for ($i = 0; $i < count($ids); $i++) {
         $c->getData($ids[$i]);
         $c->delete();
     }
     $this->gotoURL("subclass.php?action=list");
     //$this->browse($p);
 }