Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
types.php
1<?php
2
4
5
10class Types
11{
12 public const DROPDOWN = 'DROPDOWN';
13 public const CHECKBOX = 'CHECKBOX';
14 public const TEXT = 'TEXT';
15 public const DATE = 'DATE';
16 public const NUMBER = 'NUMBER';
17 public const RANGE = 'RANGE';
18 public const TEXTAREA = 'TEXTAREA';
19 public const CUSTOM = 'CUSTOM';
20 public const IMAGE = 'IMAGE';
21 public const MONEY = 'MONEY';
22 public const MULTISELECT = 'MULTISELECT';
23
28 public static function getList()
29 {
30 $reflection = new \ReflectionClass(__CLASS__);
31
32 return $reflection->getConstants();
33 }
34}