Documentation

GetList

CDBResult
CSearchCustomRank::GetList(
	array aSort = array(),
	array aFilter = array()
);

Gets a sorting rules list by the filter. Static method.

Method parameters

Parameter Description
aSort Array, containing sorting attribute as the "field name"=>"direction" set.

Field name can have the values of any of the sorting rule object field. Optional parameter. By default equals:
		array(
			"SITE_ID"=>"ASC",
			"MODULE_ID"=>"ASC",
			"PARAM1"=>"DESC",
			"PARAM2"=>"DESC",
			"ITEM_ID"=>"DESC",
		)
		
aFilter Array, containing filter as the "field name"=>"filter value" set.

Field name can have the name value of any of the sorting rule object field. Filtration is performed by the exact match of the filter and rule values. Optional parameter.

Returned values

The result of the CDBResult request type is returned. Sorting rules object fields are becoming available when selecting from the result by the CDBResult object class methods..

See Also



© «Bitrix24», 2001-2024
Up