1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
class.php
См. документацию.
1<?php
2if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
3
4class CPullDemoWebrtcComponent extends CBitrixComponent
5{
9 public function executeComponent()
10 {
11 if(!CModule::IncludeModule('pull'))
12 {
13 return false;
14 }
15 global $USER;
16
17 $this->arResult['userId'] = $USER->getId();
18 $this->arResult['signalingLink'] = $this->getPath().'/call.ajax.php';
19
20 CJSCore::RegisterExt('pullDemoWebrtc', array(
21 'js' => $this->getPath().'/demo_webrtc.js',
22 'lang' => $this->getPath().'/js_demo_webrtc.php',
23 'rel' => array('webrtc')
24 ));
25 CJSCore::Init('pullDemoWebrtc');
26
28
29 return true;
30 }
31}
getPath()
Определения component.php:198
includeComponentTemplate($templatePage="", $customTemplatePath="")
Определения component.php:724
static Init($arExt=array(), $bReturn=false)
Определения jscore.php:66
static RegisterExt($name, $arPaths)
Определения jscore.php:28
executeComponent()
Определения class.php:9
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
global $USER
Определения csv_new_run.php:40
die
Определения quickway.php:367