get_gateway_setting_ids_by_gateway_id()
- Get ids of all gateway settings owned by a gateway id.
Edit
- params: gateway_id (string).
- return: array of gateway setting ids or nil if there’s no setting for a specified gateway.
Edit
require "core"
local setting_ids = core.get_gateway_setting_ids_by_gateway_id( gateway_id )
if setting_ids ~= nil then
for _, setting_id in pairs( setting_ids ) do
print( "setting id: " .. setting_id )
end
end