Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
ActiveRecord.php
1<?php
2
3namespace Bitrix\Im\V2;
4
6
7interface ActiveRecord
8{
12 public function getPrimaryId(): ?int;
13
18 public function setPrimaryId(int $primaryId): self;
19
24 public static function getDataClass(): string;
25
31 public function load($source): Result;
32
37 public function prepareFields(): Result;
38
43 public function getDataEntity(): EntityObject;
44
49 public function save(): Result;
50
55 public function delete(): Result;
56
61 public function markChanged(): self;
62
67 public function isChanged(): bool;
68
73 public function markDrop(): self;
74
79 public function isDeleted(): bool;
80
86 public function fill(array $source): self;
87
92 public function toArray(): array;
93}
setPrimaryId(int $primaryId)