sc_send_sms($arr_settings)
|
|
This macro receives an array as the configuration parameter that contains the message, recipient, gateway, and API key.
| Parameter |
Description |
| $arr_settings |
Array with the information for use in the macro. |
| Array Index |
Description |
| to: |
SMS recipient |
| message: |
The content of the text message |
| gateway: |
API to be used (clickatell, plivo or twilio) |
| auth_token: |
API Authentication Token |
Sample 1 - Basic sending Structure:
$arr_settings = array(
'message' =>
[
'to' => '+55999999999',
'message' => 'Scriptcase SMS'
],
'settings' =>
[
'gateway' => 'clickatell',
'auth_token' => '54Cik1-gQ4GqtuN70d4y4w=='
]);
sc_send_sms($arr_settings);
|
Macro Scope
|
Blank application
|
calendar application
|
chart application
|
Grid application
|
Search application
|
Form application
|
Control Form
|
Menu application
|
Tree menu
|
ReportPDF application
|
| onExecute
|
ajaxFieldonBlur ajaxFieldonChange ajaxFieldonClick ajaxFieldonFocus onAfterDelete onAfterInsert onAfterUpdate onApplicationInit onBeforeDelete onBeforeInsert onBeforeUpdate onCalendarApplicationInit onCalendarScriptInit onInit onLoadAll onRefresh onValidate onValidateFailure onValidateSuccess
|
onApplicationInit onFooter onHeader onInit
|
ajaxFieldonClick onFooter onGroupBy onHeader onInit onNavigate onRecord
|
onApplicationInit onFilterInit onFilterRefresh onFilterSave onFilterValidate
|
ajaxFieldonBlur ajaxFieldonChange ajaxFieldonClick ajaxFieldonFocus onAfterDelete onAfterDeleteAll onAfterInsert onAfterInsertAll onAfterUpdate onAfterUpdateAll onApplicationInit onBeforeDelete onBeforeDeleteAll onBeforeInsert onBeforeInsertAll onBeforeUpdate onBeforeUpdateAll onClick onInit onLoadAll onNavigate onRecord onRefresh onValidate onValidateFailure onValidateSuccess
|
ajaxFieldonBlur ajaxFieldonChange ajaxFieldonClick ajaxFieldonFocus onApplicationInit onClick onInit onLoadAll onRefresh onValidate onValidateFailure onValidateSuccess
|
onApplicationInit onExecute onLoad
|
onApplicationInit onExecute onLoad
|
onApplicationInit onFooter onHeader onInit onRecord
|
|