1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
factorymain.php
См. документацию.
1<?php
2namespace Bitrix\Main\Filter;
3
4use Bitrix\Main\Event;
5use Bitrix\Main\EventResult;
6
8{
9 public static function onBuildFilterFactoryMethods(Event $event)
10 {
11 $result = new EventResult(
12 EventResult::SUCCESS,
13 [
14 'callbacks' => [
15 \Bitrix\Main\UserTable::getUfId() => function($entityTypeName, array $settingsParams, array $additionalParams = null) {
16
17 if ($entityTypeName == \Bitrix\Main\UserTable::getUfId())
18 {
19 $settings = new \Bitrix\Main\Filter\UserSettings($settingsParams);
20 $filterID = $settings->getID();
21
22 return new \Bitrix\Main\Filter\Filter(
23 $filterID,
26 );
27
28 }
29 }
30 ]
31 ],
32 'main'
33 );
34
35 return $result;
36 }
37}
Определения event.php:5
static onBuildFilterFactoryMethods(Event $event)
Определения factorymain.php:9
static getUfId()
Определения user.php:54
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$result
Определения get_property_values.php:14
$settings
Определения product_settings.php:43
$event
Определения prolog_after.php:141