UnSubscribers::getForm

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. UnSubscribers
  4. getForm
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/sender/connectors/unsubscribers.php
  • Класс: Bitrix\Sender\Integration\Sender\Connectors\UnSubscribers
  • Вызов: UnSubscribers::getForm
public function getForm()
{
	$mailingDb = MailingTable::getList(array(
		'select' => array('ID','NAME',),
		'order' => array('NAME' => 'ASC', 'ID' => 'DESC')
	));
	$mailingList = $mailingDb->fetchAll();
	$mailingList = array_merge(
		array(
			array('ID' => '', 'NAME' => Loc::getMessage('sender_connector_unsubscribers_all'))
		),
		$mailingList
	);

	$mailingInput = '';

	return '
		
' . Loc::getMessage('sender_connector_unsubscribers_mailing') . ' ' . $mailingInput . '
'; }

Добавить комментарий