• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/userconsent/agreement.php
  • Класс: BitrixMainUserConsentAgreement
  • Вызов: Agreement::getText
public function getText($cutTitle = false)
{
	$text = $this->getContent($cutTitle);

	return ($this->isAgreementTextHtml ? strip_tags($text) : $text);
}