Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
property.php
1
<?php
2
namespace
Bitrix\Iblock\Helpers\Admin
;
3
4
use
Bitrix\Main\Localization\Loc
,
5
Bitrix\Iblock
;
6
7
Loc::loadMessages
(__FILE__);
8
9
class
Property
10
{
17
public
static
function
getBaseTypeList
($descr =
false
)
18
{
19
$descr = ($descr ===
true
);
20
if
($descr)
21
{
22
return
array(
23
Iblock
\
PropertyTable::TYPE_STRING
=>
Loc::getMessage
(
'PROPERTY_TYPE_STRING'
),
24
Iblock
\
PropertyTable::TYPE_NUMBER
=>
Loc::getMessage
(
'PROPERTY_TYPE_NUMBER'
),
25
Iblock
\
PropertyTable::TYPE_LIST
=>
Loc::getMessage
(
'PROPERTY_TYPE_LIST'
),
26
Iblock
\
PropertyTable::TYPE_FILE
=>
Loc::getMessage
(
'PROPERTY_TYPE_FILE'
),
27
Iblock
\
PropertyTable::TYPE_ELEMENT
=>
Loc::getMessage
(
'PROPERTY_TYPE_ELEMENT'
),
28
Iblock
\
PropertyTable::TYPE_SECTION
=>
Loc::getMessage
(
'PROPERTY_TYPE_SECTION'
)
29
);
30
}
31
return
array(
32
Iblock
\
PropertyTable::TYPE_STRING
,
33
Iblock
\
PropertyTable::TYPE_NUMBER
,
34
Iblock
\
PropertyTable::TYPE_LIST
,
35
Iblock
\
PropertyTable::TYPE_FILE
,
36
Iblock
\
PropertyTable::TYPE_ELEMENT
,
37
Iblock
\
PropertyTable::TYPE_SECTION
38
);
39
}
40
}
Bitrix\Iblock\Helpers\Admin\Property
Definition
property.php:10
Bitrix\Iblock\Helpers\Admin\Property\getBaseTypeList
static getBaseTypeList($descr=false)
Definition
property.php:17
Bitrix\Iblock\Iblock
Definition
iblock.php:18
Bitrix\Iblock\PropertyTable\TYPE_ELEMENT
const TYPE_ELEMENT
Definition
propertytable.php:67
Bitrix\Iblock\PropertyTable\TYPE_FILE
const TYPE_FILE
Definition
propertytable.php:66
Bitrix\Iblock\PropertyTable\TYPE_STRING
const TYPE_STRING
Definition
propertytable.php:64
Bitrix\Iblock\PropertyTable\TYPE_LIST
const TYPE_LIST
Definition
propertytable.php:69
Bitrix\Iblock\PropertyTable\TYPE_SECTION
const TYPE_SECTION
Definition
propertytable.php:68
Bitrix\Iblock\PropertyTable\TYPE_NUMBER
const TYPE_NUMBER
Definition
propertytable.php:65
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Iblock\Helpers\Admin
Definition
property.php:2
Bitrix\Iblock
modules
iblock
lib
helpers
admin
property.php
Создано системой
1.10.0