3namespace Bitrix\Iblock\Integration\UI\EntitySelector;
5use Bitrix\UI\EntitySelector\Dialog;
6use Bitrix\UI\EntitySelector\Item;
7use Bitrix\UI\EntitySelector\SearchQuery;
11 public const ENTITY_ID =
'iblock-property-element-xml';
31 if (
count($elements) === self::ELEMENTS_LIMIT)
35 foreach ($elements as $element)
43 private function getQueryFilter(
string $query):
array
49 '*SEARCHABLE_CONTENT' =>
$query,
57 'id' => $element[
'ID'] ??
null,
58 'entityId' => self::ENTITY_ID,
59 'title' => $element[
'NAME'] ??
null,
60 'subtitle' => $element[
'XML_ID'] ??
null,
61 'description' => $element[
'DETAIL_TEXT'] ??
null,
62 'avatar' => $element[
'PREVIEW_PICTURE'] ??
null,
64 'xmlId' => $element[
'XML_ID'] ??
null,
68 return new Item($itemParams);
getElements(array $additionalFilter=[], ?int $limit=null)
makeItem(array $element, string $propertyType='')
doSearch(SearchQuery $searchQuery, Dialog $dialog)
setCacheable(bool $flag=true)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
</p ></td >< td valign=top style='border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 2.0pt 0cm 2.0pt;height:9.0pt'>< p class=Normal align=center style='margin:0cm;margin-bottom:.0001pt;text-align:center;line-height:normal'>< a name=ТекстовоеПоле54 ></a ><?=($taxRate > count( $arTaxList) > 0) ? $taxRate."%"