示例#1
0
 public function EditSourceofRestaurant($request)
 {
     try {
         $obj = new User_Model_Manager();
         $source2 = $request->source_list;
         $obj->setSourceid($source2);
         $userid = $request->uid;
         $obj->setId($userid);
         $sourcedesc = $request->sourcedescription;
         $obj->setSourcedescription($sourcedesc);
         $rsetownerMapper = new User_Model_ManagerDataMapper();
         $status = $rsetownerMapper->EditSourceofRestaurant($obj);
         return $status;
     } catch (Exception $ex) {
         Rdine_Logger_FileLogger::info($ex->getMessage());
         throw new Exception($ex->getMessage());
     }
 }