Bitrix Site Manager

CSaleAuxiliary::Update

int
CSaleAuxiliary::Update(
 array arFields
);

The method Update replaces parameters of the record containing information about temporary access and identified by the ID, with those from the arFields array.

Parameters

ParameterDescription
arFields Associated array containing new parameters of the temporary access. In this array, the keys are the parameter names, and the values are their values. The following keys are possible:
  • USER_ID - the user ID;
  • ITEM - the resource to which the access is allowed;
  • ITEM_MD5 - the resource ID (the string that uniquely identifies the resource);
  • DATE_INSERT - the date when the record was added.

Return Values

The method returns the ID of the modified record on success, or false otherwise.