function mobile_tools_context_condition_device_group::execute in Mobile Tools 7.3
Process condition logic
File
- mobile_tools_context/
mobile_tools_context.condition_device_group.inc, line 26 - Integration with the Context module
Class
- mobile_tools_context_condition_device_group
- @file Integration with the Context module
Code
function execute($device_group) {
if ($this
->condition_used()) {
foreach ($this
->get_contexts($device_group->dgid) as $context) {
$this
->condition_met($context, $device_group->dgid);
}
}
}