cfmgrv4 init...10

This commit is contained in:
최준흠 2025-03-14 09:50:09 +09:00
parent 2115bb6d89
commit 01dec9dde6
2 changed files with 20 additions and 10 deletions

View File

@ -57,6 +57,16 @@ class RecordController extends CloudflareController
} }
//생성 //생성
protected function create_process_result($message): RedirectResponse|string
{
$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_init(string $action, $fields = []): void protected function create_init(string $action, $fields = []): void
{ {
$fields = [ $fields = [
@ -105,16 +115,6 @@ class RecordController extends CloudflareController
} }
$this->entitys = $entitys; $this->entitys = $entitys;
} }
protected function create_process_result($message): RedirectResponse|string
{
$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()]
);
}
//수정 (modify,toggle,batchjob사용) //수정 (modify,toggle,batchjob사용)
protected function modify_process(mixed $uid): void protected function modify_process(mixed $uid): void
{ {

View File

@ -63,6 +63,16 @@ class ZoneController extends CloudflareController
} }
//생성 //생성
protected function create_process_result($message): RedirectResponse|string
{
$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_init(string $action, $fields = []): void protected function create_init(string $action, $fields = []): void
{ {
$fields = [ $fields = [