layout = "admin"; $this->uri_path = "admin/"; $this->view_path = "admin/"; } protected function create_process_result($message): RedirectResponse|string { MyLogService::save($this->getService()->getClassName(), __FUNCTION__, $message, $this->myauth->getUIDByAuthInfo()); return parent::create_process_result($message); // $this->init(__FUNCTION__); // helper(['form']); // $this->forms = ['attributes' => ['method' => "post",], 'hiddens' => []]; // return view( // strtolower($this->view_path . $this->getService()->getClassPath() . "/create_result"), // data: ['viewDatas' => $this->getViewDatas()] // ); } protected function create_process_failed($message): RedirectResponse|string { MyLogService::add("error", $message); MyLogService::save($this->getService()->getClassName(), __FUNCTION__, MESSAGES["FAILED"], $this->myauth->getUIDByAuthInfo()); return parent::create_process_failed($message); } //수정관련 protected function modify_process_result($message): RedirectResponse|string { MyLogService::save($this->getService()->getClassName(), __FUNCTION__, $message, $this->myauth->getUIDByAuthInfo()); return parent::modify_process_result($message); } protected function modify_process_failed($message): RedirectResponse|string { MyLogService::add("error", $message); MyLogService::save($this->getService()->getClassName(), __FUNCTION__, MESSAGES["FAILED"], $this->myauth->getUIDByAuthInfo()); return parent::modify_process_failed($message); } //단일필드작업 protected function toggle_process_result($message): RedirectResponse|string { MyLogService::save($this->getService()->getClassName(), __FUNCTION__, $message, $this->myauth->getUIDByAuthInfo()); return parent::toggle_process_result($message); } protected function toggle_process_failed($message): RedirectResponse|string { MyLogService::add("error", $message); MyLogService::save($this->getService()->getClassName(), __FUNCTION__, MESSAGES["FAILED"], $this->myauth->getUIDByAuthInfo()); return parent::toggle_process_failed($message); } //일괄처리작업 protected function batchjob_process_result($message): RedirectResponse|string { MyLogService::save($this->getService()->getClassName(), __FUNCTION__, $message, $this->myauth->getUIDByAuthInfo()); return parent::batchjob_process_result($message); } protected function batchjob_process_failed($message): RedirectResponse|string { MyLogService::add("error", $message); MyLogService::save($this->getService()->getClassName(), __FUNCTION__, MESSAGES["FAILED"], $this->myauth->getUIDByAuthInfo()); return parent::batchjob_process_failed($message); } //Delete관련 protected function delete_process_result($message): RedirectResponse|string { MyLogService::save($this->getService()->getClassName(), __FUNCTION__, $message, $this->myauth->getUIDByAuthInfo()); return parent::delete_process_result($message); } protected function delete_process_failed($message): RedirectResponse|string { MyLogService::add("error", $message); MyLogService::save($this->getService()->getClassName(), __FUNCTION__, MESSAGES["FAILED"], $this->myauth->getUIDByAuthInfo()); return parent::delete_process_failed($message); } //일괄삭제관련 protected function batchjob_delete_process_result($message): RedirectResponse|string { MyLogService::save($this->getService()->getClassName(), __FUNCTION__, $message, $this->myauth->getUIDByAuthInfo()); return parent::batchjob_delete_process_result($message); } protected function batchjob_delete_process_failed($message): RedirectResponse|string { MyLogService::add("error", $message); MyLogService::save($this->getService()->getClassName(), __FUNCTION__, MESSAGES["FAILED"], $this->myauth->getUIDByAuthInfo()); return parent::batchjob_delete_process_failed($message); } }