...Человеческий поиск в разработке...
- Модуль: sender
- Путь к файлу: ~/bitrix/modules/sender/lib/search/content.php
- Класс: Bitrix\Sender\Search\Content
- Вызов: Content::addText
public function addText($text, $length = null) { if(!is_string($text)) { $text = (string) $text; } $text = trim($text); if($length > 0) { $text = mb_substr($text, 0, $length); } if($text !== '' && !in_array($text, $this->data)) { $this->data[] = $text; } return $this; }