VuFind API Documentation

AbstractBase
in package
implements SMSInterface

Base class to enable sharing of common methods between SMS subclasses

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

Interfaces, Classes, Traits and Enums

SMSInterface
Interface for SMS classes.

Table of Contents

$smsConfig  : Config
SMS configuration
__construct()  : mixed
Constructor
getValidationType()  : string
Get validation type for phone numbers
filterPhoneNumber()  : string
Filter bad characters from a phone number

Properties

$smsConfig

SMS configuration

protected Config $smsConfig

Methods

__construct()

Constructor

public __construct(Config $config) : mixed
Parameters
$config : Config

SMS configuration

Return values
mixed

getValidationType()

Get validation type for phone numbers

public getValidationType() : string
Return values
string

filterPhoneNumber()

Filter bad characters from a phone number

protected filterPhoneNumber(string $num) : string
Parameters
$num : string

Phone number to filter

Return values
string

Search results