• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/automation/connectors/product.php
  • Класс: Bitrix\Crm\Automation\Connectors\Product
  • Вызов: Product::get
public function get($fieldName)
{
	$fieldsMap = static::getFieldsMap();
	$customMethod = 'get' . StringHelper::snake2camel($fieldName);

	if (method_exists($this, $customMethod))
	{
		return call_user_func([$this, $customMethod]);
	}
	if (array_key_exists($fieldName, $fieldsMap))
	{
		return $this->product->get($fieldName);
	}

	return null;
}