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/components/bitrix/socialnetwork.log.entry.stub/ |
Upload File : |
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); use \Bitrix\Main\Localization\Loc; final class SocialnetworkLogEntryStub extends CBitrixComponent { /** * Execute component. */ public function executeComponent() { if (!isset($this->arParams['EVENT']) || !is_array($this->arParams['EVENT'])) { $this->arParams['EVENT'] = []; } $this->arResult['MESSAGE'] = ''; $this->arResult['FEATURE'] = ''; $this->arResult['EVENT_ID'] = (!empty($this->arParams['EVENT']['EVENT_ID']) ? $this->arParams['EVENT']['EVENT_ID'] : ''); if (!empty($this->arResult['EVENT_ID'])) { switch($this->arResult['EVENT_ID']) { case 'timeman_entry': $this->arResult['MESSAGE'] = Loc::getMessage('SLEB_MESSAGE_TIMEMAN_ENTRY'); $this->arResult['FEATURE'] = 'timeman'; break; case 'report': $this->arResult['MESSAGE'] = Loc::getMessage('SLEB_MESSAGE_REPORT'); $this->arResult['FEATURE'] = 'timeman'; break; default: } } if (\Bitrix\Main\Loader::includeModule("bitrix24")) { $this->includeComponentTemplate(); } } }