[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 351 lignes (13 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Net_SMS_clickatell_http:: (9 méthodes):
_authenticate()
_send()
_getBalance()
getInfo()
getParams()
getDefaultSendParams()
getSendParams()
getError()
_callURL()
Classe: Net_SMS_clickatell_http - X-Ref
Net_SMS_clickatell_http Class implements the HTTP API for accessing the_authenticate() X-Ref |
Authenticate at the gateway and set a session id if successful. Caching is used to minimise the http calls for subsequent messages. return: mixed True on success or PEAR Error on failure. |
_send(&$message, $to) X-Ref |
This function does the actual sending of the message. param: array $message The array containing the message and its send param: string $to The destination string. return: array An array with the success status and additional |
_getBalance() X-Ref |
Returns the current credit balance on the gateway. return: integer The credit balance available on the gateway. |
getInfo() X-Ref |
Identifies this gateway driver and returns a brief description. return: array Array of driver info. |
getParams() X-Ref |
Returns the required parameters for this gateway driver. return: array Array of required parameters. |
getDefaultSendParams() X-Ref |
Returns the parameters that can be set as default for sending messages using this gateway driver and displayed when sending messages. return: array Array of parameters that can be set as default. |
getSendParams($params) X-Ref |
Returns the parameters for sending messages using this gateway driver, displayed when sending messages. These are filtered out using the default values set for the gateway. return: array Array of required parameters. |
getError($error, $error_text = '') X-Ref |
Returns a string representation of an error code. param: integer $error The error code to look up. param: string $text An existing error text to use to raise a return: mixed A textual message corresponding to the error code or a |
_callURL($url) X-Ref |
Do the http call using a url passed to the function. param: string $url The url to call. return: mixed The response on success or PEAR Error on failure. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |