Bitrix Site Manager


 int ID,
 array arFields

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


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