Function __global->dispatch_sms

Definitions

sources/sms.php

  • Attempt to send an SMS.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$message string No No required parameter N/A N/A The message
$to_sms array No No required parameter N/A N/A The member IDs of those receiving messages

Returns

  • How many were sent
  • Type: integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Attempt to send an SMS.
 *
 * @param  string $message The message
 * @param  array $to_sms The member IDs of those receiving messages
 * @return integer How many were sent
 */

function dispatch_sms(string $message, array $to_sms) : int