1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
class.php
См. документацию.
1
<?php
2
if
(!defined(
"B_PROLOG_INCLUDED"
) || B_PROLOG_INCLUDED!==
true
)
die
();
3
4
class
CPullDemoComponent
extends
CBitrixComponent
5
{
9
public
function
executeComponent
()
10
{
11
if
(!CModule::IncludeModule(
'pull'
))
12
{
13
return
false
;
14
}
15
global
$USER
;
16
17
// set pull watch tag for current user
18
CPullWatch::Add(
$USER
->GetId(),
'PULL_TEST'
);
19
20
$this->arResult[
'ajaxLink'
] = $this->
getPath
().
'/ajax.php'
;
21
22
$this->
includeComponentTemplate
();
23
24
return
true
;
25
}
26
}
CBitrixComponent\getPath
getPath()
Определения
component.php:198
CBitrixComponent\includeComponentTemplate
includeComponentTemplate($templatePage="", $customTemplatePath="")
Определения
component.php:724
CPullDemoComponent
Определения
class.php:5
CPullDemoComponent\executeComponent
executeComponent()
Определения
class.php:9
$USER
global $USER
Определения
csv_new_run.php:40
die
die
Определения
quickway.php:367
bitrix
modules
pull
demo
pull
components
pull.test
class.php
Создано системой
1.14.0