Base | --Client
Located in File: Program_Root/sdk/client/Client.php
This class is used to send an SMS to the gateway.
The SMS is validated before sending to gateway, if the Sms does not meet the requirements a response is sent back without sending the message to the gateway.
Magnus Rosenquist, Zyneo
Class Variable Summary |
$__socket
Default Value:
|
Inherited Class Variable Summary | |||||||||||||||||||||
Inherited From Class Base
|
Method Summary |
void constructor Client ( )
|
void invalidMessage ( )
|
void invalidMobile ( )
|
SendResponse send ( $sms )
Sends a simple sms and returns the response from the gateway |
Inherited Method Summary |
Inherited From Class Base
|
Method Detail |
void Client( )
[ Top ]
void invalidMessage( )
[ Top ]
void invalidMobile( )
[ Top ]
SendResponse send( mixed $sms, string $to, string $message)
Sends a simple sms and returns the response from the gateway- string $to: recipient mobilephonenumber
- string $message: message to send.
[ Top ]
Variable Detail |
[ Top ]