Documentation

Update

int
CSaleAuxiliary::Update( 
 int ID,
 array arFields
);

Method updates record parameters with ID of information on temporary access to a resource according to the data from array arFields. Non-static method.

Call parameters

ParameterDescription
ID Record code.
arFields Associative array with parameters for new information on temporary access to a resource with keys as parameter names and corresponding values. permissible keys:
  • USER_ID - user code;
  • ITEM - resource with permitted access;
  • ITEM_MD5 - resource identifier (string, with single resource identification);
  • DATE_INSERT - date of inserted record.

Returned values

Method returns code of updated record or false otherwise.



© «Bitrix24», 2001-2024
Up