• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/api/executer.php
  • Класс: BitrixSaleTradingPlatformVkApiExecuter
  • Вызов: Executer::__call
public function __call($methodName, $arguments)
{
//		prepare METHOD name
	$methodName = mb_strtolower($methodName);
	if (mb_strpos($methodName, 'execute') == 0)
	{
		$methodName = str_replace("execute", "", $methodName);
	}

	$script = $this->getScript($methodName);
	if (count($arguments))
	{
		$script = $this->prepareParams($script, $arguments[0]);
	}
	$response = $this->api->run('execute', array('code' => $script));

	return $response;
}