• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/response.php
  • Класс: BitrixMainResponse
  • Вызов: Response::setContent
public function setContent($content)
{
	if (!$this->checkContent($content))
	{
		throw new ArgumentTypeException('content', 'string');
	}

	$this->content = (string)$content;

	return $this;
}