_('Preprocessing is a transformation before saving the value to the database. It is possible to define a sequence of preprocessing steps, and those are executed in the order they are set.'),
<?php declare(strict_types = 0);
->addItem((new CVar(CSRF_TOKEN_NAME, CCsrfTokenHelper::get('item')))->removeId())
->setId('massupdate-form')
->setName('massupdate-form')
->addVar('ids', $data['ids'])
->addVar('action', $data['action'])
->addVar('prototype', $data['prototype'])
->addVar('location_url', $data['location_url'])
->addVar('context', $data['context'], uniqid('context_'))
->disablePasswordAutofill();
$item_form_list = (new CFormList('item-form-list'))
(new CVisibilityBox('visible[type]', 'type', _('Original')))
->setAttribute('autofocus', 'autofocus'),
->setValue(ITEM_TYPE_ZABBIX)
->addOptions(CSelect::createOptionsFromArray($data['item_types']))
if ($data['single_host_selected'] && $data['context'] === 'host') {
(new CVisibilityBox('visible[interfaceid]', 'interface-field', _('Original')))
->setLabel(_('Host interface'))
->setAttribute('data-multiple-interface-types', $data['multiple_interface_types']),
getInterfaceSelect($data['interfaces'])
->setId('interface-select')
->addClass(ZBX_STYLE_ZSELECT_HOST_INTERFACE),
(new CSpan(_('No interface found')))
->addClass(ZBX_STYLE_RED)
->setId('interface_not_defined')
->addStyle('display: none;')
]))->setId('interface-field'),