Documentation

normalizeFilter

\Bitrix\Landing\Source\DataLoader::normalizeFilter(
   $filter
)

Service method for handling user filter. Clears a block filter. Deletes all records that doesn't match the format. When using its own filter format (see Block filter) the method must be new.

Параметры

Parameters Description Available from version
$filter Array with unprocessed block filter

Returned value

Returns filtered array (can be empty).

Displays the following elements:

  • non-array
  • missing or empty keys, name
  • missing or non-array 'value' key

© «Bitrix24», 2001-2024
Up