title = lang("{$this->getService()->getClassPath()}.title"); $this->helper = new AuthHelper(); } protected function getService(): AuthService { if ($this->service === null) { $this->service = new AuthService(); $this->class_name = $this->service->getClassName(); $this->class_path = $this->service->getClassPath(); } return $this->service; } //생성 protected function create_init(string $action, $fields = []): void { $fields = [ 'fields' => [$this->getService()->getModel()::TITLE, 'authkey', 'status'], ]; parent::create_init($action, fields: $fields); } //수정 protected function modify_init(string $action, $fields = []): void { $fields = [ 'fields' => [$this->getService()->getModel()::TITLE, 'authkey', 'status'], ]; parent::modify_init($action, $fields); } }