public function actionDel() { $Doctor = new Doctor(); $Doctor->set_prop_from_arr($_REQUEST); $Doctor->hosp_id = $this->_user['hosp_id']; $ar['get'] = $Doctor->del(); Core::encode_echo($ar); }
public function actionDoctorDel() { $Doctor = new Doctor(); $Doctor->set_prop_from_arr($_REQUEST); $ar['get'] = $Doctor->del(); Core::encode_echo($ar); }