Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
landing.php
1
<?php
2
namespace
Bitrix\Landing\Controller
;
3
4
use
Bitrix\Landing\Landing
as
LandingCore
;
5
use
Bitrix\Main\Engine\Controller
;
6
7
class
Landing
extends
Controller
8
{
9
public
function
getDefaultPreFilters
(): array
10
{
11
return
[
12
new \Bitrix\Main\Engine\ActionFilter\Authentication(),
13
new
ActionFilter\Extranet
()
14
];
15
}
16
22
public
function
getByIdAction
(
int
$landingId): ?array
23
{
24
$res =
LandingCore::getList
([
25
'select'
=> [
26
'*'
27
],
28
'filter'
=> [
29
'ID'
=> $landingId
30
]
31
]);
32
if
($row = $res->fetch())
33
{
34
$row[
'ADDITIONAL_FIELDS'
] = LandingCore::getAdditionalFieldsAsArray($landingId);
35
return
$row;
36
}
37
38
return
null
;
39
}
40
}
Bitrix\Landing\Connector\Landing
Definition
landing.php:12
Bitrix\Landing\Controller\ActionFilter\Extranet
Definition
extranet.php:9
Bitrix\Landing\Controller\Landing\getDefaultPreFilters
getDefaultPreFilters()
Definition
landing.php:9
Bitrix\Landing\Controller\Landing\getByIdAction
getByIdAction(int $landingId)
Definition
landing.php:22
Bitrix\Main\Engine\Controller
Definition
controller.php:32
Bitrix\Main\ORM\Data\DataManager\getList
static getList(array $parameters=array())
Definition
datamanager.php:441
Bitrix\Landing\Controller
Bitrix\Landing\Landing
Definition
cache.php:2
Bitrix\Sender\Internals\QueryController
Definition
action.php:8
modules
landing
lib
controller
landing.php
Создано системой
1.10.0