Bitrix Site Manager

CSaleTax::GetByID

array
CSaleTax::GetByID(
 int ID
);

The method GetByID returns parameters of the specified tax.

Parameters

ParameterDescription
ID The ID of a tax whose parameters are to be returned.

Return 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>";
}
?>
>