method public

EnablePrefilters::getFilters()

Класс: \Bitrix\Main\Engine\ActionFilter\Attribute\Rule\EnablePrefilters

Сигнатура

public getFilters() : array<string|int, Base|string>

Возвращаемое значение

array<string|int, Base|string>

Как применяется в EnablePrefilters

EnablePrefilters::getFilters() — метод класса \Bitrix\Main\Engine\ActionFilter\Attribute\Rule\EnablePrefilters модуля «Главный модуль».

Метод объекта: сначала нужен экземпляр EnablePrefilters.

use Bitrix\Main\Engine\ActionFilter\Attribute\Rule\EnablePrefilters;

/** @var EnablePrefilters $object */
$result = $object->getFilters();
// $result: array<string|int, Base|string>

Другие методы EnablePrefilters

getFilters() есть и у других классов модуля «Главный модуль»: Authentication, CloseSession, ContentType, Cors, Csrf, DisablePostfilters, DisablePrefilters, EnablePostfilters.

Исходный файл: source/main/lib/engine/actionfilter/attribute/rule/enableprefilters.php:20

Что будем искать? Например,Продвижение