1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
listfieldtype.php
См. документацию.
1<?
3
5{
6 const IS_READONLY = true;
7 const NOT_READONLY = false;
8
9 const IS_FIELD = true;
10 const NOT_FIELD = false;
11
12 private $id;
13 private $name;
14 private $is_field;
15 private $is_readonly;
16
17 function __construct($id, $name, $is_field, $is_readonly)
18 {
19 $this->id = (string)$id;
20 $this->name = (string)$name;
21 $this->is_field = $is_field == CListFieldType::IS_FIELD;
22 $this->is_readonly = $is_readonly == CListFieldType::IS_READONLY;
23 }
24
25 function IsField()
26 {
27 return $this->is_field;
28 }
29
30 function IsReadonly()
31 {
32 return $this->is_readonly;
33 }
34
35 function GetName()
36 {
37 return $this->name;
38 }
39
40 function GetID()
41 {
42 return $this->id;
43 }
44}
45?>
Определения listfieldtype.php:5
__construct($id, $name, $is_field, $is_readonly)
Определения listfieldtype.php:17
const NOT_READONLY
Определения listfieldtype.php:7
const IS_READONLY
Определения listfieldtype.php:6
IsReadonly()
Определения listfieldtype.php:30
const NOT_FIELD
Определения listfieldtype.php:10
GetName()
Определения listfieldtype.php:35
IsField()
Определения listfieldtype.php:25
const IS_FIELD
Определения listfieldtype.php:9
GetID()
Определения listfieldtype.php:40
IncludeModuleLangFile($filepath, $lang=false, $bReturnArray=false)
Определения tools.php:3778
$name
Определения menu_edit.php:35