AbstractSMS
AbstractSMS PHP Methods
addFailureException($e) v5
Add SMS failure error exception
PARAMETERS:
$e = object, exception object
RETURN VALUE:
void buyNumber(int $areaCode, array $postVals) v5
buy a phone number from SMS provider company
PARAMETERS:
$areaCode = int, Area code (international area code)
$postVals = array, Buy a phone number form fields as an array
RETURN VALUE:
void delete() v5
Delete SMS message
PARAMETERS:
NONE
RETURN VALUE:
bool = true if the message deleted successfully, false otherwise deleteSMSQueAccount() v5
Delete SMS que for an SMS account
PARAMETERS:
NONE
RETURN VALUE:
void getPhoneFull(string $phone, string $prefix = "+") v5
Gets sender phone number including international code
PARAMETERS:
$phone = string, Phone number
$prefix = string, Phone number international code prefix
RETURN VALUE:
string = sender phone number including international code getPhoneStatus() v5
Gets phone status
PARAMETERS:
NONE
RETURN VALUE:
int = Phone status sendSMS(string $phone, string $message, string $image = "") v5
Send an SMS message
PARAMETERS:
$phone = string, Recepient phone number
$message = string, Message content
$image = string, Message image URL
RETURN VALUE:
array = Send message response as an array sendVoice(string $phone, string $mp3) v5
Send voice SMS
PARAMETERS:
$phone = string, Recepient phone number
$mp3 = string, Message .mp3 file
RETURN VALUE:
array = Send message response as an array __construct(\WMT\Container $container, \WMT\SQL\SMSMarketing\SMSAccount $smsAccount) v5
Initialize abstract SMS object
PARAMETERS:
$container = object
$smsAccount = object
RETURN VALUE:
voidAbstractSMS PHP Variables
🔎︎ %l4610%