VuFind API Documentation

SMSInterface
in

Interface for SMS classes.

Tags
category

VuFind

author

Ronan McHugh vufind-tech@lists.sourceforge.net

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

getCarriers()  : array<string|int, mixed>
Get a list of carriers supported by the module. Returned as an array of associative arrays indexed by carrier ID and containing "name" and "domain" keys.
getValidationType()  : string
Get validation type for phone numbers
text()  : void
Send a text message to the specified provider.

Methods

getCarriers()

Get a list of carriers supported by the module. Returned as an array of associative arrays indexed by carrier ID and containing "name" and "domain" keys.

public getCarriers() : array<string|int, mixed>
Return values
array<string|int, mixed>

getValidationType()

Get validation type for phone numbers

public getValidationType() : string
Return values
string

text()

Send a text message to the specified provider.

public text(string $provider, string $to, string $from, string $message) : void
Parameters
$provider : string

The provider ID to send to

$to : string

The phone number at the provider

$from : string

The email address to use as sender

$message : string

The message to send

Tags
throws
Mail
Return values
void

Search results