• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/internals/querycontroller/content.php
  • Класс: Bitrix\Sender\Internals\QueryController\Content
  • Вызов: Content::create
static function create (Response $response, $type)
{
	switch ($type)
	{
		case Content::TYPE_HTML:
			return new ContentHtml($response);

		case Content::TYPE_JSON:
		default:
			return new ContentJson($response);
	}
}