-
Notifications
You must be signed in to change notification settings - Fork 6
/
.parameters.php
48 lines (43 loc) · 1.23 KB
/
.parameters.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/*
* This file is part of the Studio Fact package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @see https://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=43&LESSON_ID=2132
*/
if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) {
die();
}
use Bitrix\Main\Localization\Loc;
Loc::loadMessages(__FILE__);
$arComponentParameters = array(
'PARAMETERS' => array(
'IBLOCK_ID' => array(
'PARENT' => 'BASE',
'NAME' => Loc::getMessage('IBLOCK_ID'),
'TYPE' => 'STRING',
),
'IBLOCK_TYPE' => array(
'PARENT' => 'BASE',
'NAME' => Loc::getMessage('IBLOCK_TYPE'),
'TYPE' => 'STRING',
),
'FILTER_NAME' => array(
'PARENT' => 'BASE',
'NAME' => Loc::getMessage('FILTER_NAME'),
'TYPE' => 'STRING',
),
'CACHE_TIME' => array(
'DEFAULT' => 36000000
),
'CACHE_GROUPS' => array(
'PARENT' => 'CACHE_SETTINGS',
'NAME' => Loc::getMessage('CACHE_GROUPS'),
'TYPE' => 'CHECKBOX',
'DEFAULT' => 'Y',
),
)
);
?>