Method | Description | |
---|---|---|
__construct ( |
||
addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : |
Add category. | |
addEmail ( |
Add email. | |
addFax ( |
Add fax. | |
addLocale ( |
Add locale. | |
addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : |
Add media. | |
addNote ( |
Add note. | |
addPhone ( |
Add phone. | |
addTag ( |
Add tag. | |
addUrl ( |
Add url. | |
getAccount ( ) | Returns main account. | |
getAddresses ( ) | Returns main addresses. | |
getAvatar ( ) : |
Get the contacts avatar and return the array of different formats. | |
getBankAccounts ( ) : array | Get bank accounts. | |
getBirthday ( ) : DateTime | Get birthday. | |
getCategories ( ) : |
Get categories. | |
getChanged ( ) : DateTime | Get changed. | |
getCreated ( ) : DateTime | Get created. | |
getEmails ( ) : array | Get emails. | |
getFaxes ( ) : array | Get faxes. | |
getFirstName ( ) : string | Get first name. | |
getFormOfAddress ( ) : integer | Get form of address. | |
getFullName ( ) : string | ||
getGender ( ) : string | Get gender. | |
getId ( ) : integer | Get id. | |
getLastName ( ) : string | Get last name. | |
getLocales ( ) : array | Get locales. | |
getMainAddress ( ) : mixed | Returns the main address. | |
getMainEmail ( ) : string | Get main email. | |
getMainFax ( ) : string | Get main fax. | |
getMainPhone ( ) : string | Get main phone. | |
getMainUrl ( ) : string | Get main url. | |
getMedias ( ) : |
Get medias. | |
getMiddleName ( ) : string | Get middle name. | |
getNewsletter ( ) : boolean | Get newsletter. | |
getNotes ( ) : array | Get notes. | |
getPhones ( ) : array | Get phones. | |
getPosition ( ) : string | Get position. | |
getSalutation ( ) : string | Get salutation. | |
getTags ( ) : array | Get tags. | |
getTitle ( ) : string | Get title. | |
getType ( ) : string | Get type of api entity. | |
getUrls ( ) : array | Get urls. | |
removeCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) | Remove category. | |
removeEmail ( |
Remove email. | |
removeFax ( |
Remove fax. | |
removeLocale ( |
Remove locale. | |
removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) | Remove media. | |
removeNote ( |
Remove note. | |
removePhone ( |
Remove phone. | |
removeTag ( |
Remove tag. | |
removeUrl ( |
Remove url. | |
setAvatar ( |
Sets the avatar (media-api object). | |
setBirthday ( DateTime $birthday ) : |
Set birthday. | |
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : |
Set changer. | |
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : |
Set creator. | |
setCurrentPosition ( $position ) | Sets current position. | |
setFirstName ( string $firstName ) : |
Set first name. | |
setFormOfAddress ( integer $formOfAddress ) : |
Set form of address. | |
setGender ( string $gender ) : |
Set gender. | |
setLastName ( string $lastName ) : |
Set last name. | |
setMainEmail ( string $mainEmail ) : |
Set main email. | |
setMainFax ( string $mainFax ) : |
Set main fax. | |
setMainPhone ( string $mainPhone ) : |
Set main phone. | |
setMainUrl ( string $mainUrl ) : |
Set main url. | |
setMiddleName ( string $middleName ) : |
Set middle name. | |
setNewsletter ( boolean $newsletter ) : |
Set newsletter. | |
setPosition ( string $position ) : |
Set position. | |
setSalutation ( string $salutation ) : |
Set salutation. | |
setTitle ( object $title ) : |
Set title. | |
toArray ( ) : array |
public __construct ( |
||
$contact | ||
$locale | string | The locale of this product |
public addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : |
||
$category | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface | |
return |
public addEmail ( |
||
return |
public addFax ( |
||
$fax | ||
return |
public addLocale ( |
||
$locale | ||
return |
public addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : |
||
$media | Sulu\Bundle\MediaBundle\Entity\MediaInterface | |
return |
public addNote ( |
||
$note | ||
return |
public addPhone ( |
||
$phone | ||
return |
public addTag ( |
||
$tag | ||
return |
public addUrl ( |
||
$url | ||
return |
public getAvatar ( ) : |
||
return |
public getCategories ( ) : |
||
return |
public getFormOfAddress ( ) : integer | ||
return | integer |
public getMainAddress ( ) : mixed | ||
return | mixed |
public getMedias ( ) : |
||
return |
public removeCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) | ||
$category | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface |
public removeEmail ( |
||
public removeFax ( |
||
$fax |
public removeLocale ( |
||
$locale | ||
return |
public removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) | ||
$media | Sulu\Bundle\MediaBundle\Entity\MediaInterface |
public removeNote ( |
||
$note |
public removePhone ( |
||
$phone |
public removeTag ( |
||
$tag |
public removeUrl ( |
||
$url |
public setAvatar ( |
||
$avatar |
public setBirthday ( DateTime $birthday ) : |
||
$birthday | DateTime | |
return |
public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : |
||
$changer | Sulu\Component\Security\Authentication\UserInterface | |
return |
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : |
||
$creator | Sulu\Component\Security\Authentication\UserInterface | |
return |
public setCurrentPosition ( $position ) | ||
$position |
public setFirstName ( string $firstName ) : |
||
$firstName | string | |
return |
public setFormOfAddress ( integer $formOfAddress ) : |
||
$formOfAddress | integer | |
return |
public setLastName ( string $lastName ) : |
||
$lastName | string | |
return |
public setMainEmail ( string $mainEmail ) : |
||
$mainEmail | string | |
return |
public setMainFax ( string $mainFax ) : |
||
$mainFax | string | |
return |
public setMainPhone ( string $mainPhone ) : |
||
$mainPhone | string | |
return |
public setMainUrl ( string $mainUrl ) : |
||
$mainUrl | string | |
return |
public setMiddleName ( string $middleName ) : |
||
$middleName | string | |
return |
public setNewsletter ( boolean $newsletter ) : |
||
$newsletter | boolean | |
return |
public setPosition ( string $position ) : |
||
$position | string | |
return |
public setSalutation ( string $salutation ) : |
||
$salutation | string | |
return |