[], 'extras' => [], 'atttributes' => []]): array { $tempOptions = ['' => lang("{$this->getAttribute('class_path')}.label.{$field}") . " 선택"]; switch ($field) { case 'serverinfo_uid': foreach ($this->getFormOption_process(service('equipment_serverservice'), $action, $field, $formDatas) as $tempEntity) { $tempOptions[$tempEntity->getPK()] = [ 'value' => $tempEntity->getPK(), 'text' => $tempEntity->getTitle(), 'data-title' => $tempEntity->getTitle(), 'data-price' => $tempEntity->getPrice() ]; } $options['options'] = $tempOptions; break; default: $options = parent::getFormOption($action, $field, $formDatas, $options); break; } return $options; } }