SMS Site
Located in Program_Root/SMS_Site.php (line 15)
| Class | Description |
|---|---|
| SMSSend_Site | SMSSend Site |
Country code (excluding '+')
Country codes supported
Array holding country codes (excluding the '+') which a site supports. null indicates the site supports them all
Error number (SWS_ERR_*)
Error string
HTML functions
HTTP client
Pass to login with
User to login with
Message to send
Number to send to
Site name
Get Number
Send message
Override this method in subclass. SMS_Web_Sender will call this method to handle the send. Make use of $http_client for sending and receiving HTTP messages.
Set country code
If the plus sign '+' is omitted, this method will add it, to get the country code without the leading plus sign, use the appropriate getter method (get_ccode_np()).
country code (eg. '+44')
Set country codes
indexed array of country codes excluding leading '+'
Set login username and/or password
username
password (optional)
Set message
(eg. 'This is a message')
Set Number
number (eg. '7977123456')
Supports country
This method will return true if country code $ccode is supported by the site, false otherwise.
country code with or without leading plus '+'.
Documention generated on Sat, 19 Jul 2003 03:43:27 +0100 by phpDocumentor 1.2.0