1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
landing.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Landing\Controller;
4
5
use Bitrix\Landing\Landing as LandingCore;
6
use Bitrix\Main\Engine\Controller;
7
use Bitrix\Main\Engine;
8
9
class
Landing
extends
Controller
10
{
11
public
function
getDefaultPreFilters
():
array
12
{
13
return
[
14
new
Engine\ActionFilter\Authentication
(),
15
new
ActionFilter\Extranet
(),
16
];
17
}
18
24
public
function
getByIdAction
(
int
$landingId): ?
array
25
{
26
$res
=
LandingCore::getList
([
27
'select'
=> [
28
'*'
,
29
],
30
'filter'
=> [
31
'ID'
=> $landingId,
32
],
33
]);
34
if
($row =
$res
->fetch())
35
{
36
$row[
'ADDITIONAL_FIELDS'
] = LandingCore::getAdditionalFieldsAsArray($landingId);
37
38
return
$row;
39
}
40
41
return
null
;
42
}
43
}
Bitrix\Landing\Controller\ActionFilter\Extranet
Определения
extranet.php:9
Bitrix\Landing\Controller\Landing\getDefaultPreFilters
getDefaultPreFilters()
Определения
landing.php:11
Bitrix\Landing\Controller\Landing\getByIdAction
getByIdAction(int $landingId)
Определения
landing.php:24
Bitrix\Main\Engine\ActionFilter\Authentication
Определения
authentication.php:14
Bitrix\Main\ORM\Data\DataManager\getList
static getList(array $parameters=array())
Определения
datamanager.php:431
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$res
$res
Определения
filter_act.php:7
Bitrix\Landing
Определения
agent.php:3
Bitrix\Main\Controller
Определения
agreement.php:2
bitrix
modules
landing
lib
controller
landing.php
Создано системой
1.14.0