Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Nextras
Orm
Mapper
IRelationshipMapperManyHasMany
PHP 인터페이스 Nextras\Orm\Mapper\IRelationshipMapperManyHasMany
상속:
extends
Nextras\Orm\Mapper\IRelationshipMapper
파일 보기
프로젝트 열기: nextras/orm
공개 메소드들
메소드
설명
add
(
Nextras\Orm\Entity\IEntity
$parent
,
array
$add
)
Adds entity relationshios with passed ids.
remove
(
Nextras\Orm\Entity\IEntity
$parent
,
array
$remove
)
Removes entity relationships with passed ids.
메소드 상세
add()
공개
메소드
Adds entity relationshios with passed ids.
public
add
(
Nextras\Orm\Entity\IEntity
$parent
,
array
$add
)
$parent
Nextras\Orm\Entity\IEntity
$add
array
array of ids to be connected
remove()
공개
메소드
Removes entity relationships with passed ids.
public
remove
(
Nextras\Orm\Entity\IEntity
$parent
,
array
$remove
)
$parent
Nextras\Orm\Entity\IEntity
$remove
array
array of connected ids to be removed