Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/sender/lib/transport/ |
Upload File : |
<?php /** * Bitrix Framework * @package bitrix * @subpackage sender * @copyright 2001-2012 Bitrix */ namespace Bitrix\Sender\Transport; use Bitrix\Sender\Message; /** * Interface iBase * @package Bitrix\Sender\Transport */ interface iBase { const CODE_MAIL = 'mail'; const CODE_WEB_HOOK = 'web_hook'; const CODE_SMS = 'sms'; const CODE_IM = 'im'; const CODE_CALL = 'call'; const CODE_AUDIO_CALL = 'audio_call'; const CODE_UNDEFINED = ''; const EVENT_NAME = 'onSenderTransportList'; /** * Get name. * * @return string */ public function getName(); /** * Get code. * * @return string */ public function getCode(); /** * Get supported recipient types. * * @return array */ public function getSupportedRecipientTypes(); /** * Load configuration. * * @return Message\Configuration */ public function loadConfiguration(); /** * Save configuration. * * @param Message\Configuration $configuration Configuration. * @return void */ public function saveConfiguration(Message\Configuration $configuration); /** * Start. * @return void */ public function start(); /** * Send message. * * @param Message\Adapter $message Message. * * @return bool */ public function send(Message\Adapter $message); /** * End. * @return void */ public function end(); }