Function __global->generate_notification_type_text

Definitions

sources/notifications.php

  • Generate a human-readable string of notification types based on the provided bitmask.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$bitmask integer No No required parameter N/A N/A The notification bitmask

Returns

  • Human-readable notification description
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Generate a human-readable string of notification types based on the provided bitmask.
 *
 * @param  integer $bitmask The notification bitmask
 * @return string Human-readable notification description
 */

function generate_notification_type_text(int $bitmask) : string