| [ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 200 lignes (6 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Net_SMS_generic_smtp:: (7 méthodes):
getInfo()
getParams()
_send()
_getDest()
getAddressTemplate()
addCarrier()
getDefaultSendParams()
Classe: Net_SMS_generic_smtp - X-Ref
Generic e-mail based SMS driver| getInfo() X-Ref |
| Identifies this driver. return: array Driver info. |
| getParams() X-Ref |
| Returns required parameters. return: array Array of required parameters. |
| _send(&$message, $to) X-Ref |
| Sends the message. You may also specify the carrier with the 'carrier' key of the message to avoid creating a new instance for each carrier, or fiddling with the parameters. param: array $message Message to send. param: string $to Destination phone number. return: array An array with the success status and additional |
| _getDest($phone, $carrier = null) X-Ref |
| Returns destination e-mail address. param: string $phone Phone number to send to. return: string Destination address. |
| getAddressTemplate($carrier) X-Ref |
| Returns the address template for a carrier. param: string $carrier Carrier name. return: mixed Address template or false. |
| addCarrier($name, $addr) X-Ref |
| Adds a carrier to the list. Address templates need to be in the form of an email address, with a '%s' representing the place where the destination phone number goes. param: string $name Carrier name. param: string $addr Address template. |
| getDefaultSendParams() X-Ref |
| Returns a list of parameters specific for this driver. return: array Default sending parameters. |
| Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |