function mobile_tools_device_group_load in Mobile Tools 7.3
Fetches the given option set and returns it as an object or NULL, if no set could be found.
Parameters
string $dgid: Device group ID
Return value
object Returns a device group object.
1 call to mobile_tools_device_group_load()
- mobile_tools_get_active_device_group in ./
mobile_tools.module - Get the active device group.
File
- ./
mobile_tools.module, line 320 - Functionality to ease the creation of mixed device environments.
Code
function mobile_tools_device_group_load($dgid) {
ctools_include('export');
$device_group = ctools_export_crud_load('mobile_tools_device_group', $dgid);
return $device_group;
}