Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
RepositoryContract.php
1
<?php
2
3
namespace
Bitrix\Catalog\v2
;
4
5
use
Bitrix\Main\Result
;
6
15
interface
RepositoryContract
16
{
17
// ToDo by primary with spread ...?
22
public
function
getEntityById
(
int
$id);
23
28
public
function
getEntitiesBy
($params);
29
34
public
function
save
(
BaseEntity
...$entities):
Result
;
35
40
public
function
delete
(
BaseEntity
...$entities):
Result
;
41
}
Bitrix\Catalog\v2\BaseEntity
Definition
BaseEntity.php:22
Bitrix\Main\ORM\Data\Result
Definition
result.php:16
Bitrix\Main\Result
Definition
result.php:14
Bitrix\Catalog\v2\RepositoryContract
Definition
RepositoryContract.php:16
Bitrix\Catalog\v2\RepositoryContract\getEntitiesBy
getEntitiesBy($params)
Bitrix\Catalog\v2\RepositoryContract\save
save(BaseEntity ... $entities)
Bitrix\Catalog\v2\RepositoryContract\getEntityById
getEntityById(int $id)
Bitrix\Catalog\v2
modules
catalog
lib
v2
RepositoryContract.php
Создано системой
1.10.0