Net_SMS Class
Copyright 2003-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
$Horde: framework/Net_SMS/SMS.php,v 1.10.10.15 2009/01/06 15:23:28 jan Exp $
Located in /Net_SMS/SMS.php (line 18)
Class | Description |
---|---|
![]() |
Net_SMS_clickatell_http Class implements the HTTP API for accessing the Clickatell (www.clickatell.com) SMS gateway. |
![]() |
SMPP based SMS driver. |
![]() |
Generic e-mail based SMS driver |
![]() |
Net_SMS_sms2email_http Class implements the HTTP API for accessing the sms2email (www.sms2email.com) SMS gateway. |
![]() |
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). |
![]() |
Net_SMS_win_http Class implements the HTTP API for accessing the WIN (www.winplc.com) SMS gateway. |
Constructor
Authenticates against the gateway if required.
Attempts to return a concrete Gateway instance based on $driver.
If the current driver has a credit capability, queries the gateway for a credit balance and returns the value.
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.
Returns a list of available gateway drivers.
Returns information on a gateway, such as name and a brief description, from the driver subclass getInfo() function.
Returns parameters for a gateway from the driver subclass getParams() function.
Query the current Gateway object to find out if it supports the given capability.
Sends a message to one or more recipients. Hands off the actual sending to the gateway driver.
id - A unique ID for the message; to - An array of recipients; text - The text of the message;
Attempts to return a reference to a concrete Net_SMS instance based on $driver.
It will 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()
Documentation generated on Sun, 30 Jan 2011 05:21:35 +0000 by phpDocumentor 1.4.3