/** * Gets which users/groups/roles are to be informed when a state is * arrived at. */ function getInformedForState($oState) { $iDescriptorId = $oState->getInformDescriptorId(); if (empty($iDescriptorId)) { return array(); } return KTPermissionUtil::getAllowedForDescriptor($iDescriptorId); }