3namespace Bitrix\Landing\Hook\Page;
5use Bitrix\Landing\Field;
6use Bitrix\Landing\Hook\Page;
7use Bitrix\Landing\Manager;
8use Bitrix\Main\Localization\Loc;
9use Bitrix\Main\Text\HtmlFilter;
11Loc::loadMessages(__FILE__);
23 'mobile' =>
'on mobile',
24 'tablet' =>
'on tablet',
25 'desktop' =>
'on desktop',
38 'title' =>
'Adaptive view',
50 return 'Layout breakpoint title';
65 return (
bool)$this->fields[
'BREAKPOINT']->getValue();
72 public function exec(): void
79 $breakpoint = trim(HtmlFilter::encode($this->fields[
'BREAKPOINT']));
82 $breakpoint = self::DEFAULT_BREAKPOINT;
static setPageView(string $marker, string $content, bool $skipTrim=false)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)