1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
entity.php
См. документацию.
1<?php
2
3
4namespace Bitrix\Sale\Exchange\Integration\Service\Container;
5
6
7use Bitrix\Sale\Internals\Fields;
8
9abstract class Entity
10{
11 protected $fields;
12
13 public function __construct(array $values = null)
14 {
15 $this->fields = new Fields($values);
16 }
17
18 public function getId()
19 {
20 return $this->fields->get('ID');
21 }
22 public function setId($value)
23 {
24 $this->fields->set('ID', $value);
25 return $this;
26 }
27
28 public function getFieldsValues()
29 {
30 return $this->fields->getValues();
31 }
32
33 abstract static public function createFromArray(array $fields);
34}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804