Function __global->_dispatch_notifications_notification

Definitions

sources/notifications.php

  • Dispatch a high-impact change notification to alert a member and staff that someone changed the member's notification settings.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$member_id_of MEMBER No No required parameter N/A N/A The member whose notifications were changed
$sensitive_change_alert boolean No No required parameter N/A N/A Whether to notify the member whose changes were applied (false: only staff get notified)

Preview

Code (PHP)

/**
 * Dispatch a high-impact change notification to alert a member and staff that someone changed the member's notification settings.
 *
 * @param  MEMBER $member_id_of The member whose notifications were changed
 * @param  boolean $sensitive_change_alert Whether to notify the member whose changes were applied (false: only staff get notified)
 */

function _dispatch_notifications_notification(int $member_id_of, bool $sensitive_change_alert)