Bitrix Site Manager


  int ID,
  array arFields

The method UpdateCountry replaces the country parameters with the new ones from the supplied array.


ID The country ID.
arFieldsAssociated array with parameters of the country to be updated. The following keys are possible:
  • NAME - the country name (language-independent);
  • SHORT_NAME - country name abbreviation (language-independent);
  • <language ID> - the key is the language name. The value is an associated array in the format:
    array("LID" => "language ID",
          "NAME" => "country name in this language",
          "SHORT_NAME" => "country name abbreviation in this language").
    Such pair must be specified for every language in the system.

Return Values

Returns the modified country ID on success, or false otherwise.