Documentation

Update

bool
CSearchCustomRank::Update(
	int ID,
	array arFields
);

Modifying sorting rules. Non-static method.

After all the required rules are deleted, re-indexing must be done via the CSearchCustomRank::StartUpdate and CSearchCustomRank::NextUpdate methods.

Method parameters

Parameter Description
ID Rule ID.
arFields Array with the values of the sorting rule fields for the object.

Returned values

Returns true on success. Otherwise, returns false.

See Also



© «Bitrix24», 2001-2024
Up