5 require_once
'./Services/Form/classes/class.ilPropertyFormGUI.php';
24 public function __construct()
28 $this->lng = $DIC[
'lng'];
34 $this->form->setFormAction(
$action);
35 $this->form->setTitle($this->lng->txt(
'upload_process'));
37 $upload_input =
new ilFileInputGUI($this->lng->txt(
'process_definition_file'),
'process_file');
38 $upload_input->
setSuffixes(array(
'xml',
'bpmn',
'bpmn2'));
39 $upload_input->setInfo($this->lng->txt(
'process_definition_file_info'));
40 $upload_input->setRequired(
true);
41 $this->form->addItem($upload_input);
43 $this->form->addCommandButton(
'upload', $this->lng->txt(
'upload_process'));
44 $this->form->addCommandButton(
'cancel', $this->lng->txt(
'cancel'));