SearchIndex::prepareSearchIndex

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. SearchIndex
  4. prepareSearchIndex
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/searchindex.php
  • Класс: BitrixTasksInternalsSearchIndex
  • Вызов: SearchIndex::prepareSearchIndex
static function prepareSearchIndex($searchIndex)
{
	$searchIndex = UI::convertBBCodeToHtmlSimple($searchIndex);
	if (Loader::includeModule('search'))
	{
		$searchIndex = CSearch::killTags($searchIndex);
	}
	$searchIndex = trim(str_replace(["r", "n", "t"], " ", $searchIndex));
	$searchIndex = ToUpper($searchIndex);
	$searchIndex = static::prepareToken($searchIndex);

	return $searchIndex;
}

Добавить комментарий