Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
Section.php
1
<?php
2
3
namespace
Bitrix\Catalog\v2\Section
;
4
5
use
Bitrix\Catalog\v2\BaseEntity
;
6
15
class
Section
extends
BaseEntity
16
{
17
public
function
__construct
(
SectionRepositoryContract
$sectionRepository)
18
{
19
parent::__construct($sectionRepository);
20
}
21
22
public
function
setValue
(
int
$value): self
23
{
24
$this->
setField
(
'VALUE'
, $value);
25
26
return
$this;
27
}
28
29
public
function
getValue
(): int
30
{
31
return
(
int
)$this->
getField
(
'VALUE'
);
32
}
33
}
Bitrix\Catalog\v2\BaseEntity
Definition
BaseEntity.php:22
Bitrix\Catalog\v2\BaseEntity\setField
setField(string $name, $value)
Definition
BaseEntity.php:102
Bitrix\Catalog\v2\BaseEntity\getField
getField(string $name)
Definition
BaseEntity.php:119
Bitrix\Catalog\v2\Section\Section
Definition
Section.php:16
Bitrix\Catalog\v2\Section\Section\setValue
setValue(int $value)
Definition
Section.php:22
Bitrix\Catalog\v2\Section\Section\__construct
__construct(SectionRepositoryContract $sectionRepository)
Definition
Section.php:17
Bitrix\Catalog\v2\Section\Section\getValue
getValue()
Definition
Section.php:29
Bitrix\Catalog\v2\Section\SectionRepositoryContract
Definition
SectionRepositoryContract.php:18
Bitrix\Catalog\v2\Section
Definition
HasSectionCollection.php:3
modules
catalog
lib
v2
Section
Section.php
Создано системой
1.10.0