Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
property.php
1<?php
3
6
7Loc::loadMessages(__FILE__);
8
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(
38 );
39 }
40}
static getBaseTypeList($descr=false)
Definition property.php:17
static loadMessages($file)
Definition loc.php:64
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29