category | OSS |
---|---|
package | OSS_Service |
subpackage | Clickatell |
copyright | Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland |
license | New BSD License |
__construct(\$options $options)
Accepted associated array parameters: username, password, ssl, api_id
retrun | void |
---|
\$options
array An associated array of options (see above for accepted keys).
getApiId() : string
string
getMessageStateDescription(string $state) : void
see | \global\OSS_Service_Clickatell_Abstract::$MESSAGE_STATES |
---|---|
see | \global\OSS_Service_Clickatell_Http::queryMessage() |
string
The state to query
getPassword() : string
string
getSSL() : bool
bool
getSendErrors() : array
Returns an associated array of number => error_message where number is the destination SMS number and error is that as returned from the Clickatell API.
array
getSendIds() : array
Returns an associated array of number => ID where number is the destination SMS number and ID is the send ID from the Clickatell API.
array
getUsername() : string
string
setApiId(\$api_id $api_id) : void
\$api_id
the API ID to set
setLogLevel(int $loglevel) : void
int
The log level
setLogger(\Zend_Logger $logger) : void
\Zend_Logger
The Zend_Logger object
setPassword(\$password $password) : void
\$password
the password to set
setSSL(\$ssl $ssl) : void
\$ssl
Pass boolean true to set SSL enabled
setUsername(\$username $username)
retrn | void |
---|
\$username
The username to set
getLogLevel() : int
int
getLogger() : \Zend_Logger
\Zend_Logger
log(string $log) : void
string
Log message
$MESSAGE_STATES : array
@see OSS_Service_Clickatell_Http::getQueryMessage() )
$_api_id : string
$_logger : \Zend_Logger
$_loglevel : integer
$_password : string
$_send_errors : array
$_send_ids : array
$_ssl : bool
$_username : string