Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
landingblock.php
1<?php
2namespace Bitrix\Landing;
3
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}