Documentation

GetByParams

array
CSaleAuxiliary::GetByParams(
 int userID,
 string itemMD5
);

Method gets data parameters on temporary access to a resource with itemMD5 for the user with userID. Non-static method.

Call parameters

ParameterDescription
userID User code.
itemMD5 Resource identifier (string, with single resource identification).

Returned value

Method returns an associative array with parameters on temporary access with the following keys:

  • ID - record code
  • USER_ID - user code
  • ITEM - resource with permitted access
  • ITEM_MD5 - resource identifier (string, with single resource identification);
  • TIMESTAMP_X - timestamp;
  • DATE_INSERT - date of inserted record.


© «Bitrix24», 2001-2024