SMSMarketing
SMSMarketing PHP Methods
checkAccountOwner(int $smsAccountID, \WMT\SQL\Visit\Visitor $visitor) v5
Checks if the visitor is the SMS account owner. throws an error if the account not found or the visitor is not the owner.
PARAMETERS:
$smsAccountID = int, SMS account ID
$visitor = object
RETURN VALUE:
VOID checkEditOn(\WMT\SQL\Visit\Visitor $visitor, \WMT\Container $container) v5
Checks if visitor can edit SMS AR messages. throws an error if the visitor is not allowed to edit the messages.
PARAMETERS:
$visitor = object
$container = object
RETURN VALUE:
VOID checkShareCode(int $memberID, int $contactGroupID, string $verifyCode) v5
Checks if SMS AR messages share code is valide throws an error if the code is not valid
PARAMETERS:
$memberID = int, member ID
$contactGroupID = int, contact group ID for the message (AR message)
$verifyCode = string, share verification code
RETURN VALUE:
VOID getShareCode(int $memberID, int $contactGroupID) v5
Gets SMS AR messages share code
PARAMETERS:
$memberID = int, member ID
$contactGroupID = int, contact group ID for the message (AR message)
RETURN VALUE:
string = SMS AR messages share code isNotificationOn(\WMT\Container $container, \WMT\SQL\Member\Member $member) v5
Checks if the member has SMS notifications turned on
PARAMETERS:
$container = object
$member = object
RETURN VALUE:
bool = true if the notifications is on, false otherwise __construct(\WMT\MySQL $mysqli) v5
construct method to load $mysqli object
PARAMETERS:
$mysqli = object
RETURN VALUE:
VOIDSMSMarketing PHP Variables
🔎︎ %l4610%