1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
base.php
См. документацию.
1<?php
2
4
7
9{
10 protected function getList($entityTypeId, array $filterSettingsParams, ?array $additionalParams = null)
11 {
12 $result = [];
14 $entityTypeId,
15 $filterSettingsParams,
16 $additionalParams
17 );
18
19 foreach($entityFilter->getFields() as $field)
20 {
22 'lightweight' => true
23 ]));
24 }
25
26 return $result;
27 }
28
29 protected function getField($entityTypeId, array $filterSettingsParams, $id, ?array $additionalParams = null)
30 {
32 $entityTypeId,
33 $filterSettingsParams,
34 $additionalParams
35 );
36
37 $field = $entityFilter->getField($id);
38 if($field)
39 {
41 }
42 else
43 {
44 $this->addError(new Error(Loc::getMessage("MAIN_CONTROLLER_FILTER_FIELD_NOT_FOUND"), "MAIN_CONTROLLER_FILTER_FIELD_NOT_FOUND"));
45 return null;
46 }
47
48 return $result;
49 }
50
51 public function getListAction($filterId, $componentName, $signedParameters)
52 {
53 return [];
54 }
55
56 public function getFieldAction($filterId, $id, $componentName, $signedParameters)
57 {
58 return [];
59 }
60}
61
getListAction($filterId, $componentName, $signedParameters)
Определения base.php:51
getList($entityTypeId, array $filterSettingsParams, ?array $additionalParams=null)
Определения base.php:10
getFieldAction($filterId, $id, $componentName, $signedParameters)
Определения base.php:56
getField($entityTypeId, array $filterSettingsParams, $id, ?array $additionalParams=null)
Определения base.php:29
addError(Error $error)
Определения controller.php:1070
Определения error.php:15
static createEntityFilter($entityTypeName, array $settingsParams, array $additionalParams=null)
Определения factory.php:54
static adapt(array $sourceField, $filterId='')
Определения fieldadapter.php:26
$componentName
Определения component_props2.php:49
</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