Bitrix Site Manager

Add

int
Add(
 array arFields
);

The method Add creates a new smile given the provided parameters.

Parameters

ParameterDescription
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 new smile on success or false otherwise.

See Also

  • List of smile fields