method public static

BusinessValue::getMapping()

Класс: \Bitrix\Sale\BusinessValue

Сигнатура

public static getMapping(string $codeKey[, string|null $consumerKey = null ][, string|int|null $personTypeId = null ][, array<string|int, mixed> $options = array() ]) : array<string|int, mixed>

Описание

Получает сопоставление.

Параметры

$codeKey string
$consumerKey string|null = null
$personTypeId string|int|null = null
$options array<string|int, mixed> = array()

Возвращаемое значение

array<string|int, mixed>

Как применяется в BusinessValue

BusinessValue::getMapping() — метод класса \Bitrix\Sale\BusinessValue модуля «Интернет-магазин».

Статический метод — вызывается через имя класса BusinessValue, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Sale\BusinessValue;

Loader::includeModule('sale');

$codeKey = '';
$result = BusinessValue::getMapping($codeKey);
// $result: array<string|int, mixed>

Другие методы BusinessValue

Исходный файл: source/sale/lib/businessvalue.php:131

Что будем искать? Например,Продвижение