Documentation

GetByID

array
CSaleOrderUserProps::GetByID(
 int ID
);

The method GetByID returns parameters of a customer profile.

Parameters

ParameterDescription
ID The ID of the customer profile whose properties are to be returned.

Returned values

Returns an associated array with the following keys.

Key Description
ID The customer ID.
NAME Profile name.
USER_ID The ID of a user for whom the profile belongs.
PERSON_TYPE_ID The payer type ID.
DATE_UPDATE The date of the last modification.

Example


<?
if ($ar = CSaleOrderUserProps::GetByID(12))
{
   echo "<pre>";
   print_r($ar);
   echo "</pre>";
}
?>
© «Bitrix24», 2001-2024