1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
loadext.php
См. документацию.
1
<?
2
namespace
Bitrix\Main\Controller;
3
4
use Bitrix\Main\Engine;
5
use Bitrix\Main\Engine\ActionFilter\Authentication;
6
use Bitrix\Main\Engine\ActionFilter\CloseSession;
7
use Bitrix\Main\UI\Extension;
8
13
class
LoadExt
extends
Engine\Controller
14
{
19
public
function
configureActions
()
20
{
21
return
[
22
'getExtensions'
=> [
23
'+prefilters'
=> [
24
new
CloseSession
()
25
],
26
'-prefilters'
=> [
27
Authentication::class
28
]
29
]
30
];
31
}
32
39
public
function
getExtensionsAction
($extension = [])
40
{
41
$result
= [];
42
43
if
(!empty($extension) && is_array($extension))
44
{
45
foreach
($extension as
$key
=> $item)
46
{
47
$result
[] = [
48
'extension'
=> $item,
49
'config'
=> Extension::getBundleConfig($item),
50
'html'
=> Extension::getHtml($item),
51
];
52
}
53
}
54
55
return
$result
;
56
}
57
}
Bitrix\Main\Controller\LoadExt
Определения
loadext.php:14
Bitrix\Main\Controller\LoadExt\configureActions
configureActions()
Определения
loadext.php:19
Bitrix\Main\Controller\LoadExt\getExtensionsAction
getExtensionsAction($extension=[])
Определения
loadext.php:39
Bitrix\Main\Engine\ActionFilter\CloseSession
Определения
closesession.php:13
$result
$result
Определения
get_property_values.php:14
Bitrix\Main\Controller
Определения
agreement.php:2
$key
if(empty($signedUserToken)) $key
Определения
quickway.php:257
bitrix
modules
main
lib
controller
loadext.php
Создано системой
1.14.0