• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/internals/querycontroller/contenthtml.php
  • Класс: Bitrix\Sender\Internals\QueryController\ContentHtml
  • Вызов: ContentHtml::toText
public function toText()
{
	if ($this->errors->isEmpty())
	{
		return $this->html;
	}
	else
	{
		return implode('
', $this->getErrorMessages()); } }