File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/pull/demo/pull/components/pull.test/class.php
Back
<?php if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); class CPullDemoComponent extends CBitrixComponent { /** * @return bool */ public function executeComponent() { if(!CModule::IncludeModule('pull')) { return false; } global $USER; // set pull watch tag for current user CPullWatch::Add($USER->GetId(), 'PULL_TEST'); $this->arResult['ajaxLink'] = $this->getPath().'/ajax.php'; $this->includeComponentTemplate(); return true; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.28 |
proxy
|
phpinfo
|
Settings