function mobile_tools_device_group_exists in Mobile Tools 7.3
Checks whether an option set with the given name already exists.
Parameters
string $dgid: Device group ID
Return value
boolean Returns TRUE if the device group exists, FALSE otherwise.
1 string reference to 'mobile_tools_device_group_exists'
- mobile_tools_device_group_form in ./
mobile_tools.admin.inc - Form to add a new device group
File
- ./
mobile_tools.module, line 334 - Functionality to ease the creation of mixed device environments.
Code
function mobile_tools_device_group_exists($dgid) {
ctools_include('export');
return ctools_export_crud_load('mobile_tools_device_group', $dgid) !== NULL;
}