• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/platform.php
  • Класс: Bitrix\Sale\TradingPlatform\for
  • Вызов: for::install
public function install()
{
	$res = TradingPlatformTable::add(array(
		"CODE" => self::TRADING_PLATFORM_CODE,
		"ACTIVE" => "N",
	));
	
	self::$instances[$this->getCode()] = new static($this->getCode());
	
	return $res->getId();
}