Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
loadext.php
1<?
3
8
14{
19 public function configureActions()
20 {
21 return [
22 'getExtensions' => [
23 '+prefilters' => [
24 new CloseSession()
25 ],
26 '-prefilters' => [
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}
getExtensionsAction($extension=[])
Definition loadext.php:39