public function DeleteClientBankAccounts(Gyuser_Model_BankAccounts $obj) { try { $table = $this->getDbTable(); $set = array('status' => 0); $where = array('user_id = ?' => $obj->getUser_id()); $result = $table->update($set, $where); return $result; } catch (Exception $e) { echo $e; } }