• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/entitybankdetail.php
  • Класс: Bitrix\Crm\EntityBankDetail
  • Вызов: EntityBankDetail::getPhrase
protected function getPhrase(string $phraseId, int $countryId): ?string
{
	$phrase = null;

	if ($phraseId !== '' && static::checkCountryId($countryId))
	{
		if (!isset(static::$phrasesMap[$countryId]))
		{
			static::$phrasesMap[$countryId] = static::loadPhrases($countryId);
		}
		if (isset(static::$phrasesMap[$countryId][$phraseId]))
		{
			$phrase = static::$phrasesMap[$countryId][$phraseId];
		}
	}

	return $phrase;
}