dbmsv4 init...5
This commit is contained in:
parent
839a44c657
commit
7fb1408259
@ -53,7 +53,7 @@ abstract class AbstractCRUDController extends AbstractWebController
|
||||
);
|
||||
}
|
||||
|
||||
final public function create(): string|RedirectResponse
|
||||
public function create(): string|RedirectResponse
|
||||
{
|
||||
try {
|
||||
$action = __FUNCTION__;
|
||||
@ -81,7 +81,7 @@ abstract class AbstractCRUDController extends AbstractWebController
|
||||
return $this->action_render_process($action, $this->getViewDatas(), $this->request->getVar('ActionTemplate'));
|
||||
}
|
||||
|
||||
final public function modify_form($uid): string|RedirectResponse
|
||||
public function modify_form($uid): string|RedirectResponse
|
||||
{
|
||||
try {
|
||||
if (!$uid) {
|
||||
@ -111,7 +111,7 @@ abstract class AbstractCRUDController extends AbstractWebController
|
||||
$redirect_url ?? '/' . implode('/', [...$this->getActionPaths(), 'view']) . '/' . $entity->getPK()
|
||||
);
|
||||
}
|
||||
final public function modify($uid): string|RedirectResponse
|
||||
public function modify($uid): string|RedirectResponse
|
||||
{
|
||||
try {
|
||||
if (!$uid) {
|
||||
@ -136,7 +136,7 @@ abstract class AbstractCRUDController extends AbstractWebController
|
||||
{
|
||||
return $this->action_redirect_process('info', "{$this->getTitle()}에서 {$entity->getTitle()} 삭제가 완료되었습니다.", $redirect_url);
|
||||
}
|
||||
final public function delete($uid): RedirectResponse
|
||||
public function delete($uid): RedirectResponse
|
||||
{
|
||||
try {
|
||||
if (!$uid) {
|
||||
@ -160,7 +160,7 @@ abstract class AbstractCRUDController extends AbstractWebController
|
||||
{
|
||||
return $this->action_render_process($action, $this->getViewDatas(), $this->request->getVar('ActionTemplate'));
|
||||
}
|
||||
final public function view($uid): string|RedirectResponse
|
||||
public function view($uid): string|RedirectResponse
|
||||
{
|
||||
try {
|
||||
if (!$uid) {
|
||||
|
||||
@ -47,7 +47,7 @@ abstract class CommonController extends AbstractCRUDController
|
||||
count($uids)
|
||||
));
|
||||
}
|
||||
final public function batchjob(): string|RedirectResponse
|
||||
public function batchjob(): string|RedirectResponse
|
||||
{
|
||||
try {
|
||||
$action = __FUNCTION__;
|
||||
@ -87,7 +87,7 @@ abstract class CommonController extends AbstractCRUDController
|
||||
{
|
||||
return $this->service->batchjob_delete($uids);
|
||||
}
|
||||
final public function batchjob_delete(): string|RedirectResponse
|
||||
public function batchjob_delete(): string|RedirectResponse
|
||||
{
|
||||
try {
|
||||
$uids = $this->batchjob_delete_pre_process($this->request->getPost());
|
||||
@ -212,7 +212,7 @@ abstract class CommonController extends AbstractCRUDController
|
||||
$this->addViewDatas('formDatas', $this->request->getVar() ?? []);
|
||||
}
|
||||
|
||||
final public function index(): string
|
||||
public function index(): string
|
||||
{
|
||||
$action = __FUNCTION__;
|
||||
$this->action_init_process($action);
|
||||
@ -278,7 +278,7 @@ abstract class CommonController extends AbstractCRUDController
|
||||
}
|
||||
return $this->response->download($full_path, null)->setFileName($file_name);
|
||||
}
|
||||
final public function download(string $output_type, mixed $uid = false): DownloadResponse|RedirectResponse|string
|
||||
public function download(string $output_type, mixed $uid = false): DownloadResponse|RedirectResponse|string
|
||||
{
|
||||
try {
|
||||
$action = __FUNCTION__;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user