public function delete_muti($arrParam = null)
 {
     $db = Zend_Registry::get('connectDb');
     $tbl_tags = new Manager_Model_tags();
     if (count($arrParam['cid']) > 0) {
         $ids = implode(',', $arrParam['cid']);
         $where = 'id IN (' . $ids . ')';
         $tbl_tags->delete($where);
     }
 }
Exemple #2
0
 public function delete_data($id)
 {
     $tbl_tags = new Manager_Model_tags();
     $where = "id ={$id}";
     $tbl_tags->delete($where);
 }