Exemplo n.º 1
0
 public function updateServiceMaster(Application_Model_ServiceMasters $serviceMaster)
 {
     $data = array('service_name' => $serviceMaster->__get("service_name"));
     $where = "service_id = " . $serviceMaster->__get("service_id");
     $result = $this->_db_table->update($data, $where);
     if (count($result) == 0) {
         return false;
     } else {
         return true;
     }
 }