I want to override the query() method of the Facet() class of a smart filter. In init.php I write:
class FacetMod extends \Bitrix\Iblock\PropertyIndex\Facet { public function query(array $filter, array $facetTypes = array(), $facetId = 0) { /*код */ } } As a result, the error:
Class '\Bitrix\Iblock\PropertyIndex\Facet' not found in C:\Bitrix\www\bitrix\php_interface\init.php Why does not find this class can not understand.