Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Sulu
Bundle
ContactBundle
Contact
ContactManagerInterface
addAddress
Sulu\Bundle\ContactBundle\Contact\ContactManagerInterface::addAddress PHP Method
ContactManagerInterface Interface Documentation
Mostrar archivo
Open project: sulu/sulu
addAddress()
public
method
adds an address to the entity.
public
addAddress
(
$entity
,
Address
$address
,
boolean
$isMain
)
$entity
The entity to add the address to
$address
Sulu\Bundle\ContactBundle\Entity\Address
The address to be added
$isMain
boolean
Defines if the address is the main Address of the contact
public function addAddress($entity, Address $address, $isMain);
ContactManagerInterface
addAddress
getAddressRelations
getById
getByIds
removeAddressRelation
setMainEmail
setMainFax
setMainForCollection
setMainPhone
setMainUrl
unsetMain