leftSection = new HalfPageSection('leftSection'); $this->rightSection = new HalfPageSection('rightSection'); $this->addSection($this->leftSection) ->addSection($this->rightSection); $this->initFields(); } private function initFields() { //Network Model $field = new Select('customconfigoption[networkModel]'); $field->setDescription('tip'); $this->leftSection->addField($field); //Bridge $field = new Select('customconfigoption[bridge]'); $field->setDescription('tip'); $this->rightSection->addField($field); //Disable Additional NIC Creation $field = new Switcher('customconfigoption[oneNetworkDevice]'); $field->setDescription('tip'); $this->leftSection->addField($field); //Private Bridge $field = new Select('customconfigoption[privateBridge]'); $field->setDescription('tip'); $this->rightSection->addField($field); //Private Network Model $field = new Select('customconfigoption[networkPrivateModel]'); $field->setDescription('tip'); $this->leftSection->addField($field); //Firewall $field = new Switcher('customconfigoption[networkFirewall]'); $field->setDescription('tip'); $this->rightSection->addField($field); //Multiqueue $field = new Text('customconfigoption[queues]'); $field->setDescription('tip'); $this->leftSection->addField($field); //VLAN TAG Range From $field = new Text('customconfigoption[tagFrom]'); $field->setDescription('tip'); $this->rightSection->addField($field); //VLAN TAG Range To $field = new Text('customconfigoption[tagTo]'); $field->setDescription('tip'); $this->leftSection->addField($field); //Tag $field = new Select('customconfigoption[tags][]'); $field->enableMultiple(); $field->setDescription('tip'); if(Utility::isIpManagerProxmoxVPSIntegration()){ $field->setDescription('ip_manager_integration_tag'); } $this->rightSection->addField($field); //privateNetwork $field = new Switcher('customconfigoption[privateNetwork]'); $field->setDescription('tip'); $this->leftSection->addField($field); } }