Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/components/bitrix/landing.demo/ |
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/components/bitrix/landing.demo/.parameters.php |
<?php if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED!==true) { die(); } if (\Bitrix\Main\Loader::includeModule('landing')) { $types = \Bitrix\Landing\Site::getTypes(); } else { $types = array(); } $arComponentParameters = Array( 'PARAMETERS' => array( 'TYPE' => array( 'NAME' => getMessage('LANDING_CMP_PAR_LANDING_TYPE'), 'TYPE' => 'LIST', 'VALUES' => $types ), 'SITE_ID' => array( 'NAME' => getMessage('LANDING_CMP_PAR_SITE_ID'), 'TYPE' => 'STRING' ), 'BINDING_TYPE' => array( 'NAME' => getMessage('LANDING_CMP_PAR_BINDING_TYPE'), 'TYPE' => 'LIST', 'VALUES' => [ 'GROUP' => getMessage('LANDING_CMP_PAR_BINDING_TYPE_GROUP'), 'MENU' => getMessage('LANDING_CMP_PAR_BINDING_TYPE_MENU') ] ), 'BINDING_ID' => array( 'NAME' => getMessage('LANDING_CMP_PAR_BINDING_ID'), 'TYPE' => 'STRING' ), 'SITE_WORK_MODE' => array( 'NAME' => getMessage('LANDING_CMP_PAR_SITE_WORK_MODE'), 'TYPE' => 'CHECKBOX' ), 'DONT_LEAVE_FRAME' => array( 'NAME' => getMessage('LANDING_CMP_PAR_DONT_LEAVE_FRAME'), 'TYPE' => 'CHECKBOX' ), 'PAGE_URL_SITES' => array( 'NAME' => getMessage('LANDING_CMP_PAR_PAGE_URL_SITES'), 'TYPE' => 'STRING' ), 'PAGE_URL_LANDING_VIEW' => array( 'NAME' => getMessage('LANDING_CMP_PAR_PAGE_URL_LANDING_VIEW'), 'TYPE' => 'STRING' ), 'SKIP_REMOTE' => array( 'NAME' => getMessage('LANDING_CMP_PAR_SKIP_REMOTE'), 'TYPE' => 'CHECKBOX' ), ) );