Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
xmlfield.php
1
<?php
2
3
namespace
Bitrix\Main\PhoneNumber\Tools
;
4
5
class
XmlField
6
{
8
protected
$name
=
''
;
10
protected
$multiple
=
false
;
12
protected
$subParser
=
null
;
13
14
public
function
__construct
(
$name
, array $options = array())
15
{
16
$this->name =
$name
;
17
if
(array_key_exists(
'multiple'
, $options))
18
$this->multiple = (bool)$options[
'multiple'
];
19
20
if
(array_key_exists(
'subParser'
, $options) && is_object($options[
'subParser'
]))
21
$this->subParser = $options[
'subParser'
];
22
}
23
24
public
function
getName
()
25
{
26
return
$this->name
;
27
}
28
29
public
function
isMultiple
()
30
{
31
return
$this->multiple
;
32
}
33
37
public
function
getSubParser
()
38
{
39
return
$this->subParser
;
40
}
41
48
public
function
decodeValue
($value)
49
{
50
return
$value;
51
}
52
53
public
static
function
getClass
()
54
{
55
return
get_called_class();
56
}
57
}
Bitrix\Main\PhoneNumber\Tools\XmlField
Definition
xmlfield.php:6
Bitrix\Main\PhoneNumber\Tools\XmlField\$multiple
$multiple
Definition
xmlfield.php:10
Bitrix\Main\PhoneNumber\Tools\XmlField\getName
getName()
Definition
xmlfield.php:24
Bitrix\Main\PhoneNumber\Tools\XmlField\$subParser
$subParser
Definition
xmlfield.php:12
Bitrix\Main\PhoneNumber\Tools\XmlField\getSubParser
getSubParser()
Definition
xmlfield.php:37
Bitrix\Main\PhoneNumber\Tools\XmlField\__construct
__construct($name, array $options=array())
Definition
xmlfield.php:14
Bitrix\Main\PhoneNumber\Tools\XmlField\$name
$name
Definition
xmlfield.php:8
Bitrix\Main\PhoneNumber\Tools\XmlField\isMultiple
isMultiple()
Definition
xmlfield.php:29
Bitrix\Main\PhoneNumber\Tools\XmlField\getClass
static getClass()
Definition
xmlfield.php:53
Bitrix\Main\PhoneNumber\Tools\XmlField\decodeValue
decodeValue($value)
Definition
xmlfield.php:48
Bitrix\Main\PhoneNumber\Tools
Definition
boolfield.php:3
modules
main
lib
phonenumber
tools
xmlfield.php
Создано системой
1.10.0