Documentation

Update

int
Update(
 int ID,
 array arFields
);

The method Update replaces parameters of the specified smile with the new ones.

Parameters

ParameterDescription
ID The ID of the smile whose properties are to be modified.
arFields Associated array of a smile parameters whose keys are the order parameter names, and values are the parameter values of the format Array(field1=>value1[, field2=>value2 [, ..]]). The following values are possible:
  • field - field name;
  • value - field value.
You can refer to the List of smile fields for a list of possible keys. A special field "LANG" should contain an array of arrays with the language parameters of a smile. All the required fields must be filled.

Return Values

Returns the ID of the updated smile or false otherwise.

See Also

  • List of smile fields
  • © «Bitrix24», 2001-2024
    Up