Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Section.php
1<?php
2
4
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)
__construct(SectionRepositoryContract $sectionRepository)
Definition Section.php:17