• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/yandex/toloka/messagetoloka.php
  • Класс: Bitrix\Sender\Integration\Yandex\Toloka\MessageToloka
  • Вызов: MessageToloka::getUiFilterFields
public function getUiFilterFields()
{
	$list = [
		[
			'id'      => 'REGION_BY_PHONE',
			"name"    => Loc::getMessage('SEDNER_INTEGRATION_TOLOKA_FILTER_REGION_PHONE'),
			'params'  => ['multiple' => 'Y'],
			'type'    => 'list',
			"default" => true
		],
		[
			'id'      => 'REGION_BY_IP',
			"name"    => Loc::getMessage('SEDNER_INTEGRATION_TOLOKA_FILTER_REGION_IP'),
			'params'  => ['multiple' => 'Y'],
			'type'    => 'list',
			"default" => true
		]
	];

	return $list;
}