[ERROR#1] SMS — Documentation — DIAFAN.CMS

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');

Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor
#1 include_once() called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:499]
#2 Docs_model->prepare_text( 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 differ...) called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:94]
#3 Docs_model->show() called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.php:29]
#4 Docs->init() called at [/var/www/diafan/data/www/diafancms.com/includes/init.php:474]
#5 Init->module() called at [/var/www/diafan/data/www/diafancms.com/includes/init.php:119]
#6 Init->start() called at [/var/www/diafan/data/www/diafancms.com/index.php:62]
/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:499