• Модуль: documentgenerator
  • Путь к файлу: ~/bitrix/modules/documentgenerator/lib/body.php
  • Класс: BitrixDocumentGeneratorBody
  • Вызов: Body::getReplaceValue
protected function getReplaceValue(array $matches, array $params = [])
{
	if(isset($matches[2]) && isset($this->values[$matches[2]]))
	{
		if(isset($this->excludedPlaceholders[$matches[2]]))
		{
			return $matches[0];
		}

		return $this->printValue($this->values[$matches[2]], $matches[2], $matches[3], $params);
	}

	return '';
}