diff --git a/application/ui.extkeywidget.class.inc.php b/application/ui.extkeywidget.class.inc.php index 45c077972a..c2b166542a 100644 --- a/application/ui.extkeywidget.class.inc.php +++ b/application/ui.extkeywidget.class.inc.php @@ -284,7 +284,8 @@ public function DisplaySelect(WebPage $oPage, $iMaxComboLength, $bAllowTargetCre if ($bAddingValue) { $aArguments = []; foreach ($aAdditionalField as $sAdditionalField) { - array_push($aArguments, $oObj->Get($sAdditionalField)); + //getAsCSV to have user friendly value in text format + array_push($aArguments, $oObj->GetAsCSV($sAdditionalField, ' ', '')); } $aOption['additional_field'] = utils::HtmlEntities(utils::VSprintf($sFormatAdditionalField, $aArguments)); } diff --git a/core/trigger.class.inc.php b/core/trigger.class.inc.php index fdd816e371..2710ddb23d 100644 --- a/core/trigger.class.inc.php +++ b/core/trigger.class.inc.php @@ -39,7 +39,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger", @@ -174,7 +174,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onobject", @@ -401,7 +401,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onportalupdate", @@ -434,7 +434,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onstatechange", @@ -469,7 +469,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onstateenter", @@ -503,7 +503,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onstateleave", @@ -537,7 +537,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onobjcreate", @@ -572,7 +572,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onobjdelete", @@ -607,7 +607,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onobjupdate", @@ -695,7 +695,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onobjmention", @@ -773,7 +773,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onattblobdownload", @@ -852,7 +852,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_threshold", diff --git a/core/valuesetdef.class.inc.php b/core/valuesetdef.class.inc.php index 8a9c91494c..24b46be05e 100644 --- a/core/valuesetdef.class.inc.php +++ b/core/valuesetdef.class.inc.php @@ -404,7 +404,8 @@ protected function LoadValuesForAutocomplete($aArgs, $sContains = '', $sOperatio if (count($aAdditionalField) > 0) { $aArguments = []; foreach ($aAdditionalField as $sAdditionalField) { - array_push($aArguments, $oObject->Get($sAdditionalField)); + //getAsCSV to have user friendly value in text format + array_push($aArguments, $oObject->GetAsCSV($sAdditionalField,' ','')); } $aData['additional_field'] = utils::VSprintf($sFormatAdditionalField, $aArguments); } else { diff --git a/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentCreate.php b/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentCreate.php index 2931de448a..c9b318c993 100644 --- a/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentCreate.php +++ b/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentCreate.php @@ -24,7 +24,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onattcreate", diff --git a/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDelete.php b/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDelete.php index a9c8ac7c6f..8e40f8faa1 100644 --- a/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDelete.php +++ b/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDelete.php @@ -24,7 +24,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onattdelete", diff --git a/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDownload.php b/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDownload.php index ceb9d3988e..89511b442f 100644 --- a/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDownload.php +++ b/datamodels/2.x/itop-attachments/src/Trigger/TriggerOnAttachmentDownload.php @@ -19,7 +19,7 @@ public static function Init() "category" => "grant_by_profile,core/cmdb,application", "key_type" => "autoincrement", "name_attcode" => "description", - "complementary_name_attcode" => ['finalclass', 'complement'], + "complementary_name_attcode" => ['finalclass', 'target_class'], "state_attcode" => "", "reconc_keys" => ['description'], "db_table" => "priv_trigger_onattdownload", diff --git a/dictionaries/cs.dictionary.itop.core.php b/dictionaries/cs.dictionary.itop.core.php index a3cdd5345d..a655c1871c 100755 --- a/dictionaries/cs.dictionary.itop.core.php +++ b/dictionaries/cs.dictionary.itop.core.php @@ -612,7 +612,7 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', [ 'Class:Trigger' => 'Triger', 'Class:Trigger+' => '', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s~~', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Popis', 'Class:Trigger/Attribute:description+' => 'Krátký popis', 'Class:Trigger/Attribute:action_list' => 'Spouštěné akce', diff --git a/dictionaries/da.dictionary.itop.core.php b/dictionaries/da.dictionary.itop.core.php index b293e10aca..14a3646497 100644 --- a/dictionaries/da.dictionary.itop.core.php +++ b/dictionaries/da.dictionary.itop.core.php @@ -611,7 +611,7 @@ Dict::Add('DA DA', 'Danish', 'Dansk', [ 'Class:Trigger' => 'Triggere', 'Class:Trigger+' => '', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s~~', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Beskrivelse', 'Class:Trigger/Attribute:description+' => '', 'Class:Trigger/Attribute:action_list' => 'Triggerede handlinger', diff --git a/dictionaries/de.dictionary.itop.core.php b/dictionaries/de.dictionary.itop.core.php index a0e513d3cc..c8eef7982c 100644 --- a/dictionaries/de.dictionary.itop.core.php +++ b/dictionaries/de.dictionary.itop.core.php @@ -608,7 +608,7 @@ Dict::Add('DE DE', 'German', 'Deutsch', [ 'Class:Trigger' => 'Trigger', 'Class:Trigger+' => 'Custom event handler', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Beschreibung', 'Class:Trigger/Attribute:description+' => 'Kurzbeschreibung', 'Class:Trigger/Attribute:action_list' => 'Verbundene Trigger-Aktionen', diff --git a/dictionaries/en.dictionary.itop.core.php b/dictionaries/en.dictionary.itop.core.php index 582c37e69c..fba6271267 100644 --- a/dictionaries/en.dictionary.itop.core.php +++ b/dictionaries/en.dictionary.itop.core.php @@ -705,7 +705,7 @@ Dict::Add('EN US', 'English', 'English', [ 'Class:Trigger' => 'Trigger', 'Class:Trigger+' => 'Custom event handler', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s', 'Class:Trigger/Attribute:description' => 'Description', 'Class:Trigger/Attribute:description+' => 'Be precise as your users will base their potential unsubscription on this information', 'Class:Trigger/Attribute:action_list' => 'Triggered actions', diff --git a/dictionaries/en_gb.dictionary.itop.core.php b/dictionaries/en_gb.dictionary.itop.core.php index 330ed07444..1868553cb7 100644 --- a/dictionaries/en_gb.dictionary.itop.core.php +++ b/dictionaries/en_gb.dictionary.itop.core.php @@ -688,7 +688,7 @@ Dict::Add('EN GB', 'British English', 'British English', [ 'Class:Trigger' => 'Trigger', 'Class:Trigger+' => 'Custom event handler', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Description', 'Class:Trigger/Attribute:description+' => 'Be precise as your users will base their potential unsubscribing on this information', 'Class:Trigger/Attribute:action_list' => 'Triggered actions', diff --git a/dictionaries/es_cr.dictionary.itop.core.php b/dictionaries/es_cr.dictionary.itop.core.php index 27aecf9706..5c1bfc5aec 100644 --- a/dictionaries/es_cr.dictionary.itop.core.php +++ b/dictionaries/es_cr.dictionary.itop.core.php @@ -599,7 +599,7 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', [ 'Class:Trigger' => 'Disparador', 'Class:Trigger+' => 'Disparador', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Descripción', 'Class:Trigger/Attribute:description+' => 'Descripción', 'Class:Trigger/Attribute:action_list' => 'Acciones', diff --git a/dictionaries/fr.dictionary.itop.core.php b/dictionaries/fr.dictionary.itop.core.php index cc675b3184..a80fd16e10 100644 --- a/dictionaries/fr.dictionary.itop.core.php +++ b/dictionaries/fr.dictionary.itop.core.php @@ -650,7 +650,7 @@ Dict::Add('FR FR', 'French', 'Français', [ 'Class:Trigger' => 'Déclencheur', 'Class:Trigger+' => '', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s', + 'Class:Trigger/ComplementaryName' => '%1$s, classe cible : %2$s', 'Class:Trigger/Attribute:description' => 'Description', 'Class:Trigger/Attribute:description+' => 'Soyez explicite, afin que vos utilisateurs comprennent à quelles notifications précisement ils se désabonnent', 'Class:Trigger/Attribute:action_list' => 'Actions déclenchées', diff --git a/dictionaries/hu.dictionary.itop.core.php b/dictionaries/hu.dictionary.itop.core.php index 810e7aab95..7273c58932 100755 --- a/dictionaries/hu.dictionary.itop.core.php +++ b/dictionaries/hu.dictionary.itop.core.php @@ -606,7 +606,7 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', [ 'Class:Trigger' => 'Eseményindító', 'Class:Trigger+' => 'Egyéni eseménykezelés', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s~~', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Leírás', 'Class:Trigger/Attribute:description+' => 'Egysoros leírás', 'Class:Trigger/Attribute:action_list' => 'Elindított műveletek', diff --git a/dictionaries/it.dictionary.itop.core.php b/dictionaries/it.dictionary.itop.core.php index d7c2d97449..9d5d7f1d41 100644 --- a/dictionaries/it.dictionary.itop.core.php +++ b/dictionaries/it.dictionary.itop.core.php @@ -606,7 +606,7 @@ Dict::Add('IT IT', 'Italian', 'Italiano', [ 'Class:Trigger' => 'Trigger', 'Class:Trigger+' => 'Gestore di eventi personalizzati', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Descrizione', 'Class:Trigger/Attribute:description+' => 'Una linea di descrizione', 'Class:Trigger/Attribute:action_list' => 'Azioni triggerate', diff --git a/dictionaries/ja.dictionary.itop.core.php b/dictionaries/ja.dictionary.itop.core.php index 8f000089cc..17ad6131c1 100644 --- a/dictionaries/ja.dictionary.itop.core.php +++ b/dictionaries/ja.dictionary.itop.core.php @@ -610,7 +610,7 @@ Dict::Add('JA JP', 'Japanese', '日本語', [ 'Class:Trigger' => 'トリガー', 'Class:Trigger+' => 'カスタムイベントハンドラー', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s~~', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => '説明', 'Class:Trigger/Attribute:description+' => '1行の説明', 'Class:Trigger/Attribute:action_list' => 'トリガーされたアクション', diff --git a/dictionaries/nl.dictionary.itop.core.php b/dictionaries/nl.dictionary.itop.core.php index 8792932df5..05784c79a1 100644 --- a/dictionaries/nl.dictionary.itop.core.php +++ b/dictionaries/nl.dictionary.itop.core.php @@ -608,7 +608,7 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', [ 'Class:Trigger' => 'Trigger', 'Class:Trigger+' => 'Aanleiding tot het uitvoeren van een actie', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s', + 'Class:Trigger/ComplementaryName' => '%1$s, toegepast op klasse: %2$s', 'Class:Trigger/Attribute:description' => 'Beschrijving', 'Class:Trigger/Attribute:description+' => 'Beschrijving in één regel', 'Class:Trigger/Attribute:action_list' => 'Getriggerde acties', diff --git a/dictionaries/pl.dictionary.itop.core.php b/dictionaries/pl.dictionary.itop.core.php index 0a0d978ca8..79fdf005b8 100644 --- a/dictionaries/pl.dictionary.itop.core.php +++ b/dictionaries/pl.dictionary.itop.core.php @@ -608,7 +608,7 @@ Dict::Add('PL PL', 'Polish', 'Polski', [ 'Class:Trigger' => 'Wyzwalacz', 'Class:Trigger+' => 'Niestandardowa obsługa zdarzeń', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Opis', 'Class:Trigger/Attribute:description+' => 'jedna linia opisu', 'Class:Trigger/Attribute:action_list' => 'Działania wyzwalacza', diff --git a/dictionaries/pt_br.dictionary.itop.core.php b/dictionaries/pt_br.dictionary.itop.core.php index 447c2fe053..db50b23ec4 100644 --- a/dictionaries/pt_br.dictionary.itop.core.php +++ b/dictionaries/pt_br.dictionary.itop.core.php @@ -606,7 +606,7 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', [ 'Class:Trigger' => 'Gatilho', 'Class:Trigger+' => 'Manipulador de eventos personalizado', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s~~', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Descrição', 'Class:Trigger/Attribute:description+' => 'Uma descrição curta', 'Class:Trigger/Attribute:action_list' => 'Ações desencadeadas', diff --git a/dictionaries/ru.dictionary.itop.core.php b/dictionaries/ru.dictionary.itop.core.php index 6927cc500e..ac88bd34fc 100644 --- a/dictionaries/ru.dictionary.itop.core.php +++ b/dictionaries/ru.dictionary.itop.core.php @@ -611,7 +611,7 @@ Dict::Add('RU RU', 'Russian', 'Русский', [ 'Class:Trigger' => 'Триггер', 'Class:Trigger+' => 'Пользовательский обработчик событий', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s~~', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Описание', 'Class:Trigger/Attribute:description+' => 'Описание триггера', 'Class:Trigger/Attribute:action_list' => 'Действия триггера', diff --git a/dictionaries/sk.dictionary.itop.core.php b/dictionaries/sk.dictionary.itop.core.php index f4571bd210..3c1bc430c3 100644 --- a/dictionaries/sk.dictionary.itop.core.php +++ b/dictionaries/sk.dictionary.itop.core.php @@ -624,7 +624,7 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', [ 'Class:Trigger' => 'Spúštač', 'Class:Trigger+' => 'Custom event handler~~', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s~~', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Popis', 'Class:Trigger/Attribute:description+' => 'Be precise as your users will base their potential unsubscription on this information~~', 'Class:Trigger/Attribute:action_list' => 'Spúšťané akcie', diff --git a/dictionaries/tr.dictionary.itop.core.php b/dictionaries/tr.dictionary.itop.core.php index 0809b1226e..458957d091 100644 --- a/dictionaries/tr.dictionary.itop.core.php +++ b/dictionaries/tr.dictionary.itop.core.php @@ -611,7 +611,7 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', [ 'Class:Trigger' => 'Tetikleyici', 'Class:Trigger+' => 'Özel olay yürütücü', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s~~', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => 'Tanımlama', 'Class:Trigger/Attribute:description+' => 'tek satır tanımlama', 'Class:Trigger/Attribute:action_list' => 'Tetiklenen işlemler', diff --git a/dictionaries/zh_cn.dictionary.itop.core.php b/dictionaries/zh_cn.dictionary.itop.core.php index ced119b565..5eddd34ce5 100644 --- a/dictionaries/zh_cn.dictionary.itop.core.php +++ b/dictionaries/zh_cn.dictionary.itop.core.php @@ -643,7 +643,7 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', [ 'Class:Trigger' => '触发器', 'Class:Trigger+' => '自定义事件处理', - 'Class:Trigger/ComplementaryName' => '%1$s, %2$s', + 'Class:Trigger/ComplementaryName' => '%1$s, class restriction: %2$s~~', 'Class:Trigger/Attribute:description' => '描述', 'Class:Trigger/Attribute:description+' => '简短描述', 'Class:Trigger/Attribute:action_list' => '触发的操作', diff --git a/sources/Service/Base/ObjectRepository.php b/sources/Service/Base/ObjectRepository.php index 06674c6693..45a2e48b3a 100644 --- a/sources/Service/Base/ObjectRepository.php +++ b/sources/Service/Base/ObjectRepository.php @@ -210,7 +210,8 @@ public static function ComputeOthersData(DBObject $oDbObject, string $sClass, ar $aData['has_additional_field'] = true; $aArguments = []; foreach ($aComplementAttributeSpec[1] as $sAdditionalField) { - $aArguments[] = $oDbObject->Get($sAdditionalField); + //getAsCSV to have user friendly value in text format + $aArguments[] = $oDbObject->GetAsCSV($sAdditionalField,' ',''); } $aData['additional_field'] = utils::VSprintf($aComplementAttributeSpec[0], $aArguments); $sAdditionalFieldForHtml = utils::EscapeHtml($aData['additional_field']);