method
public
static
Manager::getByCode()
Сигнатура
public static getByCode(mixed $code) : array<string|int, mixed>|bool
Параметры
$code
mixed
Возвращаемое значение
array<string|int, mixed>|bool
Как применяется в Manager
Manager::getByCode() — метод класса \Bitrix\Sale\PaySystem\Manager модуля «Интернет-магазин».
Статический метод — вызывается через имя класса Manager, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sale\PaySystem\Manager;
Loader::includeModule('sale');
$code = null;
$result = Manager::getByCode($code);
// $result: array<string|int, mixed>|boolДругие методы Manager
Исходный файл: source/sale/lib/paysystem/manager.php:111

