GetByID
array CSaleTax::GetByID( int ID );
The method GetByID returns parameters for a specified tax.
Parameters
Parameter | Description |
---|---|
ID | The ID of a tax whose parameters are to be returned. |
Returned values
Returns an associated array with the following keys.
Key | Description |
---|---|
ID | The tax ID. |
LID | The site ID. |
NAME | the tax name. |
CODE | Mnemonic tax code. |
DESCRIPTION | The tax description. |
TIMESTAMP_X | The date the record was last modified. |
Example
<? // Display parameters of the tax $TAX_ID if ($arTax = CSaleTax::GetByID($TAX_ID)) { echo "<pre>"; print_r($arTax); echo "</pre>"; } ?>
© «Bitrix24», 2001-2024