SMS

For sending SMS in the file includes/sms.php is defined class Sms.

Sending SMS is connected and configured in the [Site settings] (/dokument/full-manual/sysmodules/config/) and is used in different modules.

Методы

void send (string $text, string $to) – Отправляет SMS.

  • string $text: текст SMS
  • string $to: номер получателя

Example:

// send SMS
Custom::inc('includes/sms.php');
Sms::send('The site has a new order #134.', '79999999999');