CExtra::GetList
CDBResult CExtra::GetList( string &by, string &order );
The method GetList returns a list of discounts. The list returned is sorted by the parameter by in the order order.
Parameters
Parameter | Description |
---|---|
by | Name of the field by which the list of discounts is to be sorted. Names
include the following:
|
order | Sort order. Can be one of the following:
|
Return Values
An instance of the CDBResult class containing a set of the associated arrays with the following keys.
Key | Description |
---|---|
ID | Discount ID. |
NAME | Name of the discount. |
PERCENTAGE | Percentage value of the discount. The value can be both positive and negative number. |
© «Bitrix24», 2001-2024