GetByID
array CSalePersonType::GetByID( int ID );
The method GetByID returns parameters of the specified payer type.
Parameters
Parameter | Description |
---|---|
ID | The ID of the payer type whose properties are to be retrieved. |
Returned values
Returns an associated array with the following keys.
Key | Description |
---|---|
ID | The payer type ID. |
LID | The ID of the site owning the new payer type. |
NAME | The payer type name. |
SORT | The payer type sort weight. |
Example
<? if ($arPersType = CSalePersonType::GetByID($PERSON_TYPE_ID)) { echo "<pre>"; print_r($arPersType); echo "</pre>"; } ?>
© «Bitrix24», 2001-2024