Bitrix Site Manager

GetList

CDBResult
GetList(
 [array arOrder [,
 array arFilter]]
);

Returns a list of smiles.

Parameters

ParameterDescription
arOrder An array in the format Array(by1=>order1[, by2=>order2 [, ..]]), where:
  • by - field by which the sorting is to be performed
    • ID - the smile ID;
    • SORT - sort weight;
  • order - sort order:
    • ASC - ascending;
    • DESC - descending;
Optional. By default Array("SORT"=>"ASC").
arFilter An array in the format array("filter field"=>"value" [, ...]). The following keys are possible:
  • ID - the smile ID;
  • SORT - sort weight.
The filter field may be prepended with the condition operator: "!" (negation), "<", "<=", ">", ">=".

Optional. By default, the records are not filtered.

Return Values

Returns an instance of the CDBResult.

See Also

  • CDBResult
  • Smile fields