CSaleAuxiliary::GetByParams
array
CSaleAuxiliary::GetByParams(
int userID,
string itemMD5
);
The method GetByParams returns parameters of the temporary access
identified by the itemMD5 for the user userID.
Parameters
Parameter | Description |
userID |
The user ID. |
itemMD5 |
The resource ID (the string that uniquely
identifies the resource). |
Return Values
The method returns an associated array containing parameters of the temporary
access with the following keys:
- ID - the record ID;
- 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);
- TIMESTAMP_X - the date when the record was
modified;
- DATE_INSERT - the date when the record was added.