dolibarr 21.0.0-beta
|
Class to send SMS Usage: $smsfile = new CSMSFile($subject,$sendto,$replyto,$message,$filepath,$mimetype,$filename,$cc,$ccc,$deliveryreceipt,$msgishtml,$errors_to); $smsfile->socid=...; $smsfile->contact_id=...; $smsfile->member_id=...; $smsfile->fk_project=...; $smsfile->sendfile();. More...
Public Member Functions | |
__construct ($to, $from, $msg, $deliveryreceipt=0, $deferred=0, $priority=3, $class=1) | |
CSMSFile. | |
sendfile () | |
Send SMS that was prepared by constructor. | |
dump_sms () | |
Write content of a SendSms request into a dump file (mode = all) Used for debugging. | |
dump_sms_result ($result) | |
Write content of a SendSms result into a dump file (mode = all) Used for debugging. | |
Class to send SMS Usage: $smsfile = new CSMSFile($subject,$sendto,$replyto,$message,$filepath,$mimetype,$filename,$cc,$ccc,$deliveryreceipt,$msgishtml,$errors_to); $smsfile->socid=...; $smsfile->contact_id=...; $smsfile->member_id=...; $smsfile->fk_project=...; $smsfile->sendfile();.
Definition at line 37 of file CSMSFile.class.php.
CSMSFile::__construct | ( | $to, | |
$from, | |||
$msg, | |||
$deliveryreceipt = 0, | |||
$deferred = 0, | |||
$priority = 3, | |||
$class = 1 ) |
string | $to | Recipients SMS |
string | $from | Sender SMS |
string | $msg | Message |
int | $deliveryreceipt | Not used |
int | $deferred | Deferred or not |
int | $priority | Priority |
int | $class | Class |
Definition at line 124 of file CSMSFile.class.php.
References $conf, dol_syslog(), and getDolGlobalString().
CSMSFile::dump_sms | ( | ) |
Write content of a SendSms request into a dump file (mode = all) Used for debugging.
Definition at line 262 of file CSMSFile.class.php.
References $conf, and dolChmod().
Referenced by sendfile().
CSMSFile::dump_sms_result | ( | $result | ) |
Write content of a SendSms result into a dump file (mode = all) Used for debugging.
int | $result | Result of sms sending |
Definition at line 293 of file CSMSFile.class.php.
References dolChmod().
Referenced by sendfile().
CSMSFile::sendfile | ( | ) |
Send SMS that was prepared by constructor.
Definition at line 163 of file CSMSFile.class.php.
References dol_include_once(), dol_print_error(), dol_syslog(), dump_sms(), dump_sms_result(), and getDolGlobalString().