PHP 인터페이스 Sulu\Component\Contact\Model\ContactInterface

파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
addAccountContact ( AccountContact $accountContact ) : Sulu\Component\Contact\Model\ContactInterface Add account contact.
addBankAccount ( BankAccount $bankAccount ) : Sulu\Component\Contact\Model\ContactInterface Add bank account.
addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : Sulu\Component\Contact\Model\ContactInterface Add category.
addContactAddress ( ContactAddress $contactAddress ) : Sulu\Component\Contact\Model\ContactInterface Add contact address.
addEmail ( Email $email ) : Sulu\Component\Contact\Model\ContactInterface Add email.
addFax ( Fax $fax ) : Sulu\Component\Contact\Model\ContactInterface Add fax.
addLocale ( ContactLocale $locale ) : Sulu\Component\Contact\Model\ContactInterface Add locale.
addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : Sulu\Component\Contact\Model\ContactInterface Add medias.
addNote ( Note $note ) : Sulu\Component\Contact\Model\ContactInterface Add note.
addPhone ( Phone $phone ) : Sulu\Component\Contact\Model\ContactInterface Add phone.
addTag ( Tag $tag ) : Sulu\Component\Contact\Model\ContactInterface Add tag.
addUrl ( Url $url ) : Sulu\Component\Contact\Model\ContactInterface Add url.
getAccountContacts ( ) : Doctrine\Common\Collections\Collection Get account contacts.
getAddresses ( ) Returns addresses.
getAvatar ( ) : Media Get the contacts avatar.
getBankAccounts ( ) : Doctrine\Common\Collections\Collection Get bankAccounts.
getBirthday ( ) : DateTime Get birthday.
getCategories ( ) : Doctrine\Common\Collections\Collection Get categories.
getContactAddresses ( ) : Doctrine\Common\Collections\Collection Get contact addresses.
getEmails ( ) : Doctrine\Common\Collections\Collection Get emails.
getFaxes ( ) : Doctrine\Common\Collections\Collection Get faxes.
getFirstName ( ) : string Get first name.
getFormOfAddress ( ) : integer Get form of address.
getGender ( ) : string Get gender.
getId ( ) : integer Get id.
getLastName ( ) : string Get last name.
getLocales ( ) : Doctrine\Common\Collections\Collection Get locales.
getMainAccount ( ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface | null Returns main account.
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 ( ) : Doctrine\Common\Collections\Collection Get medias.
getMiddleName ( ) : string Get middle name.
getNewsletter ( ) : boolean Get newsletter.
getNotes ( ) : Doctrine\Common\Collections\Collection Get notes.
getPhones ( ) : Doctrine\Common\Collections\Collection Get phones.
getPosition ( ) : string Get position.
getSalutation ( ) : string Get salutation.
getTagNameArray ( ) : array Parse tags to array containing tag names.
getTags ( ) : Doctrine\Common\Collections\Collection Get tags.
getTitle ( ) : string Get title.
getUrls ( ) : Doctrine\Common\Collections\Collection Get urls.
removeAccountContact ( AccountContact $accountContact ) Remove account contact.
removeBankAccount ( BankAccount $bankAccount ) Remove bank account.
removeCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) Remove category.
removeContactAddress ( ContactAddress $contactAddress ) Remove contact address.
removeEmail ( Email $email ) Remove email.
removeFax ( Fax $fax ) Remove fax.
removeLocale ( ContactLocale $locale ) Remove locale.
removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) Remove media.
removeNote ( Note $note ) Remove note.
removePhone ( Phone $phone ) Remove phone.
removeTag ( Tag $tag ) Remove tag.
removeUrl ( Url $url ) Remove url.
setAvatar ( Media $avatar ) Sets the avatar for the contact.
setBirthday ( DateTime $birthday ) : Sulu\Component\Contact\Model\ContactInterface Set birthday.
setFirstName ( string $firstName ) : Sulu\Component\Contact\Model\ContactInterface Set first name.
setFormOfAddress ( integer $formOfAddress ) : Sulu\Component\Contact\Model\ContactInterface Set form of address.
setGender ( string $gender ) : Sulu\Component\Contact\Model\ContactInterface Set gender.
setLastName ( string $lastName ) : Sulu\Component\Contact\Model\ContactInterface Set last name.
setMainEmail ( string $mainEmail ) : Sulu\Component\Contact\Model\ContactInterface Set main email.
setMainFax ( string $mainFax ) : Sulu\Component\Contact\Model\ContactInterface Set main fax.
setMainPhone ( string $mainPhone ) : Sulu\Component\Contact\Model\ContactInterface Set main phone.
setMainUrl ( string $mainUrl ) : Sulu\Component\Contact\Model\ContactInterface Set main url.
setMiddleName ( string $middleName ) : Sulu\Component\Contact\Model\ContactInterface Set middle name.
setNewsletter ( boolean $newsletter ) : Sulu\Component\Contact\Model\ContactInterface Set newsletter.
setPosition ( string $position ) : Sulu\Component\Contact\Model\ContactInterface Set position.
setSalutation ( string $salutation ) : Sulu\Component\Contact\Model\ContactInterface Set salutation.
setTitle ( object $title ) : Sulu\Component\Contact\Model\ContactInterface Set title.

메소드 상세

addAccountContact() 공개 메소드

Add account contact.
public addAccountContact ( AccountContact $accountContact ) : Sulu\Component\Contact\Model\ContactInterface
$accountContact Sulu\Bundle\ContactBundle\Entity\AccountContact
리턴 Sulu\Component\Contact\Model\ContactInterface

addBankAccount() 공개 메소드

Add bank account.
public addBankAccount ( BankAccount $bankAccount ) : Sulu\Component\Contact\Model\ContactInterface
$bankAccount Sulu\Bundle\ContactBundle\Entity\BankAccount
리턴 Sulu\Component\Contact\Model\ContactInterface

addCategory() 공개 메소드

Add category.
public addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : Sulu\Component\Contact\Model\ContactInterface
$category Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
리턴 Sulu\Component\Contact\Model\ContactInterface

addContactAddress() 공개 메소드

Add contact address.
public addContactAddress ( ContactAddress $contactAddress ) : Sulu\Component\Contact\Model\ContactInterface
$contactAddress Sulu\Bundle\ContactBundle\Entity\ContactAddress
리턴 Sulu\Component\Contact\Model\ContactInterface

addEmail() 공개 메소드

Add email.
public addEmail ( Email $email ) : Sulu\Component\Contact\Model\ContactInterface
$email Sulu\Bundle\ContactBundle\Entity\Email
리턴 Sulu\Component\Contact\Model\ContactInterface

addFax() 공개 메소드

Add fax.
public addFax ( Fax $fax ) : Sulu\Component\Contact\Model\ContactInterface
$fax Sulu\Bundle\ContactBundle\Entity\Fax
리턴 Sulu\Component\Contact\Model\ContactInterface

addLocale() 공개 메소드

Add locale.
public addLocale ( ContactLocale $locale ) : Sulu\Component\Contact\Model\ContactInterface
$locale Sulu\Bundle\ContactBundle\Entity\ContactLocale
리턴 Sulu\Component\Contact\Model\ContactInterface

addMedia() 공개 메소드

Add medias.
public addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : Sulu\Component\Contact\Model\ContactInterface
$media Sulu\Bundle\MediaBundle\Entity\MediaInterface
리턴 Sulu\Component\Contact\Model\ContactInterface

addNote() 공개 메소드

Add note.
public addNote ( Note $note ) : Sulu\Component\Contact\Model\ContactInterface
$note Sulu\Bundle\ContactBundle\Entity\Note
리턴 Sulu\Component\Contact\Model\ContactInterface

addPhone() 공개 메소드

Add phone.
public addPhone ( Phone $phone ) : Sulu\Component\Contact\Model\ContactInterface
$phone Sulu\Bundle\ContactBundle\Entity\Phone
리턴 Sulu\Component\Contact\Model\ContactInterface

addTag() 공개 메소드

Add tag.
public addTag ( Tag $tag ) : Sulu\Component\Contact\Model\ContactInterface
$tag Sulu\Bundle\TagBundle\Entity\Tag
리턴 Sulu\Component\Contact\Model\ContactInterface

addUrl() 공개 메소드

Add url.
public addUrl ( Url $url ) : Sulu\Component\Contact\Model\ContactInterface
$url Sulu\Bundle\ContactBundle\Entity\Url
리턴 Sulu\Component\Contact\Model\ContactInterface

getAccountContacts() 공개 메소드

Get account contacts.
public getAccountContacts ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getAddresses() 공개 메소드

Returns addresses.
public getAddresses ( )

getAvatar() 공개 메소드

Get the contacts avatar.
public getAvatar ( ) : Media
리턴 Sulu\Bundle\MediaBundle\Entity\Media

getBankAccounts() 공개 메소드

Get bankAccounts.
public getBankAccounts ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getBirthday() 공개 메소드

Get birthday.
public getBirthday ( ) : DateTime
리턴 DateTime

getCategories() 공개 메소드

Get categories.
public getCategories ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getContactAddresses() 공개 메소드

Get contact addresses.
public getContactAddresses ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getEmails() 공개 메소드

Get emails.
public getEmails ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getFaxes() 공개 메소드

Get faxes.
public getFaxes ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getFirstName() 공개 메소드

Get first name.
public getFirstName ( ) : string
리턴 string

getFormOfAddress() 공개 메소드

Get form of address.
public getFormOfAddress ( ) : integer
리턴 integer

getGender() 공개 메소드

Get gender.
public getGender ( ) : string
리턴 string

getId() 공개 메소드

Get id.
public getId ( ) : integer
리턴 integer

getLastName() 공개 메소드

Get last name.
public getLastName ( ) : string
리턴 string

getLocales() 공개 메소드

Get locales.
public getLocales ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getMainAccount() 공개 메소드

Returns main account.
public getMainAccount ( ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface | null
리턴 Sulu\Bundle\ContactBundle\Entity\AccountInterface | null

getMainAddress() 공개 메소드

Returns the main address.
public getMainAddress ( ) : mixed
리턴 mixed

getMainEmail() 공개 메소드

Get main email.
public getMainEmail ( ) : string
리턴 string

getMainFax() 공개 메소드

Get main fax.
public getMainFax ( ) : string
리턴 string

getMainPhone() 공개 메소드

Get main phone.
public getMainPhone ( ) : string
리턴 string

getMainUrl() 공개 메소드

Get main url.
public getMainUrl ( ) : string
리턴 string

getMedias() 공개 메소드

Get medias.
public getMedias ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getMiddleName() 공개 메소드

Get middle name.
public getMiddleName ( ) : string
리턴 string

getNewsletter() 공개 메소드

Get newsletter.
public getNewsletter ( ) : boolean
리턴 boolean

getNotes() 공개 메소드

Get notes.
public getNotes ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getPhones() 공개 메소드

Get phones.
public getPhones ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getPosition() 공개 메소드

Get position.
public getPosition ( ) : string
리턴 string

getSalutation() 공개 메소드

Get salutation.
public getSalutation ( ) : string
리턴 string

getTagNameArray() 공개 메소드

Parse tags to array containing tag names.
public getTagNameArray ( ) : array
리턴 array

getTags() 공개 메소드

Get tags.
public getTags ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getTitle() 공개 메소드

Get title.
public getTitle ( ) : string
리턴 string

getUrls() 공개 메소드

Get urls.
public getUrls ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

removeAccountContact() 공개 메소드

Remove account contact.
public removeAccountContact ( AccountContact $accountContact )
$accountContact Sulu\Bundle\ContactBundle\Entity\AccountContact

removeBankAccount() 공개 메소드

Remove bank account.
public removeBankAccount ( BankAccount $bankAccount )
$bankAccount Sulu\Bundle\ContactBundle\Entity\BankAccount

removeCategory() 공개 메소드

Remove category.
public removeCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category )
$category Sulu\Bundle\CategoryBundle\Entity\CategoryInterface

removeContactAddress() 공개 메소드

Remove contact address.
public removeContactAddress ( ContactAddress $contactAddress )
$contactAddress Sulu\Bundle\ContactBundle\Entity\ContactAddress

removeEmail() 공개 메소드

Remove email.
public removeEmail ( Email $email )
$email Sulu\Bundle\ContactBundle\Entity\Email

removeFax() 공개 메소드

Remove fax.
public removeFax ( Fax $fax )
$fax Sulu\Bundle\ContactBundle\Entity\Fax

removeLocale() 공개 메소드

Remove locale.
public removeLocale ( ContactLocale $locale )
$locale Sulu\Bundle\ContactBundle\Entity\ContactLocale

removeMedia() 공개 메소드

Remove media.
public removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media )
$media Sulu\Bundle\MediaBundle\Entity\MediaInterface

removeNote() 공개 메소드

Remove note.
public removeNote ( Note $note )
$note Sulu\Bundle\ContactBundle\Entity\Note

removePhone() 공개 메소드

Remove phone.
public removePhone ( Phone $phone )
$phone Sulu\Bundle\ContactBundle\Entity\Phone

removeTag() 공개 메소드

Remove tag.
public removeTag ( Tag $tag )
$tag Sulu\Bundle\TagBundle\Entity\Tag

removeUrl() 공개 메소드

Remove url.
public removeUrl ( Url $url )
$url Sulu\Bundle\ContactBundle\Entity\Url

setAvatar() 공개 메소드

Sets the avatar for the contact.
public setAvatar ( Media $avatar )
$avatar Sulu\Bundle\MediaBundle\Entity\Media

setBirthday() 공개 메소드

Set birthday.
public setBirthday ( DateTime $birthday ) : Sulu\Component\Contact\Model\ContactInterface
$birthday DateTime
리턴 Sulu\Component\Contact\Model\ContactInterface

setFirstName() 공개 메소드

Set first name.
public setFirstName ( string $firstName ) : Sulu\Component\Contact\Model\ContactInterface
$firstName string
리턴 Sulu\Component\Contact\Model\ContactInterface

setFormOfAddress() 공개 메소드

Set form of address.
public setFormOfAddress ( integer $formOfAddress ) : Sulu\Component\Contact\Model\ContactInterface
$formOfAddress integer
리턴 Sulu\Component\Contact\Model\ContactInterface

setGender() 공개 메소드

Set gender.
public setGender ( string $gender ) : Sulu\Component\Contact\Model\ContactInterface
$gender string
리턴 Sulu\Component\Contact\Model\ContactInterface

setLastName() 공개 메소드

Set last name.
public setLastName ( string $lastName ) : Sulu\Component\Contact\Model\ContactInterface
$lastName string
리턴 Sulu\Component\Contact\Model\ContactInterface

setMainEmail() 공개 메소드

Set main email.
public setMainEmail ( string $mainEmail ) : Sulu\Component\Contact\Model\ContactInterface
$mainEmail string
리턴 Sulu\Component\Contact\Model\ContactInterface

setMainFax() 공개 메소드

Set main fax.
public setMainFax ( string $mainFax ) : Sulu\Component\Contact\Model\ContactInterface
$mainFax string
리턴 Sulu\Component\Contact\Model\ContactInterface

setMainPhone() 공개 메소드

Set main phone.
public setMainPhone ( string $mainPhone ) : Sulu\Component\Contact\Model\ContactInterface
$mainPhone string
리턴 Sulu\Component\Contact\Model\ContactInterface

setMainUrl() 공개 메소드

Set main url.
public setMainUrl ( string $mainUrl ) : Sulu\Component\Contact\Model\ContactInterface
$mainUrl string
리턴 Sulu\Component\Contact\Model\ContactInterface

setMiddleName() 공개 메소드

Set middle name.
public setMiddleName ( string $middleName ) : Sulu\Component\Contact\Model\ContactInterface
$middleName string
리턴 Sulu\Component\Contact\Model\ContactInterface

setNewsletter() 공개 메소드

Set newsletter.
public setNewsletter ( boolean $newsletter ) : Sulu\Component\Contact\Model\ContactInterface
$newsletter boolean
리턴 Sulu\Component\Contact\Model\ContactInterface

setPosition() 공개 메소드

Set position.
public setPosition ( string $position ) : Sulu\Component\Contact\Model\ContactInterface
$position string
리턴 Sulu\Component\Contact\Model\ContactInterface

setSalutation() 공개 메소드

Set salutation.
public setSalutation ( string $salutation ) : Sulu\Component\Contact\Model\ContactInterface
$salutation string
리턴 Sulu\Component\Contact\Model\ContactInterface

setTitle() 공개 메소드

Set title.
public setTitle ( object $title ) : Sulu\Component\Contact\Model\ContactInterface
$title object
리턴 Sulu\Component\Contact\Model\ContactInterface