Net_SMS_vodafoneitaly_smtp Class implements the SMTP API for accessing the Vodafone Italy SMS gateway. Use of this gateway requires an email account with Vodafone Italy (www.190.it).
Returns send parameters for a gateway from the driver subclass
getDefaultSendParams()function. These are parameters which are available to the user during sending, such as setting a time for delivery, or type of SMS (normal text or flash), or source address, etc.
Attempts to return a reference to a concrete Net_SMS instance based on $driver. It wil only create a new instance if no Net_SMS instance with the same parameters currently exists.
This method must be invoked as: $var = &Net_SMS::singleton()
Return: The created concrete Net_SMS instance, or false on error.
Parameters:
string
$driver
—
The type of concrete Net_SMS subclass to return. The is based on the gateway driver ($driver). The code is dynamically included.
array
$params
—
A hash containing any additional configuration or connection parameters a subclass might need.