Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
propertyvalue.php
1
<?php
9
namespace
Bitrix\Iblock\ORM
;
10
15
class
PropertyValue
16
{
17
protected
$value
;
18
19
protected
$description
;
20
21
public
function
__construct
(
$value
,
$description
=
null
)
22
{
23
$this->value =
$value
;
24
25
if
(
$description
!==
null
)
26
{
27
$this->description =
$description
;
28
}
29
}
30
34
public
function
getValue
()
35
{
36
return
$this->value
;
37
}
38
42
public
function
getDescription
()
43
{
44
return
$this->description
;
45
}
46
50
public
function
hasDescription
()
51
{
52
return
$this->description !==
null
;
53
}
54
}
Bitrix\Iblock\ORM\PropertyValue
Definition
propertyvalue.php:16
Bitrix\Iblock\ORM\PropertyValue\$value
$value
Definition
propertyvalue.php:17
Bitrix\Iblock\ORM\PropertyValue\getDescription
getDescription()
Definition
propertyvalue.php:42
Bitrix\Iblock\ORM\PropertyValue\$description
$description
Definition
propertyvalue.php:19
Bitrix\Iblock\ORM\PropertyValue\hasDescription
hasDescription()
Definition
propertyvalue.php:50
Bitrix\Iblock\ORM\PropertyValue\getValue
getValue()
Definition
propertyvalue.php:34
Bitrix\Iblock\ORM\PropertyValue\__construct
__construct($value, $description=null)
Definition
propertyvalue.php:21
Bitrix\Iblock\ORM
Definition
commonelement.php:9
modules
iblock
lib
orm
propertyvalue.php
Создано системой
1.10.0