45 if (empty($valuesData))
50 $connection = \Bitrix\Main\Application::getConnection();
51 $helper = $connection->getSqlHelper();
54 INSERT INTO b_catalog_permission
55 (ROLE_ID, PERMISSION_ID, ' . $helper->quote(
'VALUE') .
')
56 VALUES ' . implode(
',', $valuesData)
59 $connection->query($query);