Documentation

GetList

CDBResult
CSaleTax::GetList(
 array arOrder = Array("NAME"=>"ASC"),
 array arFilter = Array()
);

The method GetList returns an optionally sorted and filtered list of taxes.

Parameters

ParameterDescription
arOrder Associated array used to sort records. The sorting is performed consequently on each pair "key-value". Keys are the parameter names. Values are sort direction constants.

The following keys are possible:
  • NAME - tax name;
  • ID - the tax ID;
  • LID - the site ID;
  • CODE - the taxmnemonic code;
  • TIMESTAMP_X - the date the record was last modified.
arFilter Associated array used to filter taxes. Only the records which satisfy the filter are included in the returned list. Keys are the parameter names, and the values are conditions.

The following keys are possible:
  • ID - the tax ID;
  • LID - the site ID;
  • CODE - the tax mnemonic code;

Return Values

Returns a CDBResult instance containing a set of associated arrays 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.
© «Bitrix24», 2001-2024