• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/item.php
  • Класс: Bitrix\Crm\Item
  • Вызов: Item::getCustomMethodNameIfExists
protected function getCustomMethodNameIfExists(string $methodPrefix, string $commonFieldName): ?string
{
	$customMethod = $methodPrefix.$this->transformToCalledFieldName($commonFieldName);
	if (method_exists($this, $customMethod))
	{
		return $customMethod;
	}

	return null;
}