Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
landingblock.php
1
<?php
2
namespace
Bitrix\Landing
;
3
4
class
LandingBlock
5
{
10
protected
$params
= [];
11
15
public
function
__construct
()
16
{
17
}
18
23
public
function
getEditMode
()
24
{
25
return
Landing::getEditMode();
26
}
27
33
public
function
get
($code)
34
{
35
if
(array_key_exists($code, $this->params))
36
{
37
return
$this->params[$code];
38
}
39
else
40
{
41
return
null
;
42
}
43
}
44
50
public
function
init
(array
$params
= [])
51
{
52
}
53
59
public
function
beforeAdd
(
Block
$block)
60
{
61
62
}
63
69
public
function
beforeView
(
Block
$block)
70
{
71
}
72
}
Bitrix\Landing\Block
Definition
block.php:21
Bitrix\Landing\LandingBlock
Definition
landingblock.php:5
Bitrix\Landing\LandingBlock\__construct
__construct()
Definition
landingblock.php:15
Bitrix\Landing\LandingBlock\beforeAdd
beforeAdd(Block $block)
Definition
landingblock.php:59
Bitrix\Landing\LandingBlock\beforeView
beforeView(Block $block)
Definition
landingblock.php:69
Bitrix\Landing\LandingBlock\init
init(array $params=[])
Definition
landingblock.php:50
Bitrix\Landing\LandingBlock\getEditMode
getEditMode()
Definition
landingblock.php:23
Bitrix\Landing\LandingBlock\$params
$params
Definition
landingblock.php:10
Bitrix\Landing
Definition
agent.php:2
modules
landing
lib
landingblock.php
Создано системой
1.10.0