public function delete(Gyuser_Model_Colegas $obj) { try { $table = $this->getDbTable(); $set = array('status' => 0); $where = array('id = ?' => $obj->getId()); $result = $table->update($set, $where); return $result; } catch (Exception $e) { echo $e; } }