1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Section.php
См. документацию.
1<?php
2
3namespace Bitrix\Catalog\v2\Section;
4
5use Bitrix\Catalog\v2\BaseEntity;
6
15class 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}
setField(string $name, $value)
Определения BaseEntity.php:102
getField(string $name)
Определения BaseEntity.php:119
setValue(int $value)
Определения Section.php:22
__construct(SectionRepositoryContract $sectionRepository)
Определения Section.php:17