PHP Interface Sulu\Bundle\ContactBundle\Entity\AccountInterface

Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
addAccountAddress ( AccountAddress $accountAddresses ) : Account Add accountAddresses.
addAccountContact ( AccountContact $accountContacts ) : Account Add accountContacts.
addBankAccount ( BankAccount $bankAccounts ) : Account Add bankAccounts.
addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : Account Add categories.
addChild ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $child ) : Account Add children.
addEmail ( Email $emails ) : Account Add emails.
addFax ( Fax $faxes ) : Account Add faxes.
addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : Account Add media.
addNote ( Note $notes ) : Account Add notes.
addPhone ( Phone $phones ) : Account Add phones.
addTag ( Tag $tags ) : Account Add tags.
addUrl ( Url $urls ) : Account Add urls.
getAccountAddresses ( ) : Doctrine\Common\Collections\Collection Get accountAddresses.
getAccountContacts ( ) : Doctrine\Common\Collections\Collection Get accountContacts.
getBankAccounts ( ) : Doctrine\Common\Collections\Collection Get bankAccounts.
getCategories ( ) : Doctrine\Common\Collections\Collection Get categories.
getChanged ( ) : DateTime
getChanger ( ) : mixed
getChildren ( ) : Doctrine\Common\Collections\Collection Get children.
getContacts ( ) : Doctrine\Common\Collections\Collection Get contacts.
getCorporation ( ) : string Get corporation.
getCreated ( ) : DateTime
getCreator ( ) : mixed
getDepth ( ) : integer Get depth.
getEmails ( ) : Doctrine\Common\Collections\Collection Get emails.
getExternalId ( ) : string Get externalId.
getFaxes ( ) : Doctrine\Common\Collections\Collection Get faxes.
getId ( ) : integer Get id.
getLft ( ) : integer Get lft.
getLogo ( ) : Media Get logo.
getMainAddress ( ) : mixed Returns the main address.
getMainContact ( ) : Contact
getMainEmail ( ) : string Get mainEmail.
getMainFax ( ) : string Get mainFax.
getMainPhone ( ) : string Get mainPhone.
getMainUrl ( ) : string Get mainUrl.
getMedias ( ) : Doctrine\Common\Collections\Collection Get medias.
getName ( ) : string Get name.
getNotes ( ) : Doctrine\Common\Collections\Collection Get notes.
getNumber ( ) : string Get number.
getParent ( ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Get parent.
getPhones ( ) : Doctrine\Common\Collections\Collection Get phones.
getPlaceOfJurisdiction ( ) : string Get placeOfJurisdiction.
getRegisterNumber ( ) : string Get registerNumber.
getRgt ( ) : integer Get rgt.
getTags ( ) : Doctrine\Common\Collections\Collection Get tags.
getUid ( ) : string Get uid.
getUrls ( ) : Doctrine\Common\Collections\Collection Get urls.
removeAccountAddress ( AccountAddress $accountAddresses ) Remove accountAddresses.
removeAccountContact ( AccountContact $accountContacts ) Remove accountContacts.
removeBankAccount ( BankAccount $bankAccounts ) Remove bankAccounts.
removeCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) Remove categories.
removeChild ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $child ) Remove children.
removeEmail ( Email $emails ) Remove emails.
removeFax ( Fax $faxes ) Remove faxes.
removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) Remove media.
removeNote ( Note $notes ) Remove notes.
removePhone ( Phone $phones ) Remove phones.
removeTag ( Tag $tags ) Remove tags.
removeUrl ( Url $urls ) Remove urls.
setChanged ( DateTime $changed )
setChanger ( mixed $changer )
setCorporation ( string $corporation ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set corporation.
setCreated ( DateTime $created )
setCreator ( mixed $creator )
setDepth ( integer $depth ) : Account Set depth.
setExternalId ( string $externalId ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set externalId.
setLft ( integer $lft ) : Account Set lft.
setLogo ( Media $logo ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set logo.
setMainContact ( Contact $mainContact )
setMainEmail ( string $mainEmail ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set mainEmail.
setMainFax ( string $mainFax ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set mainFax.
setMainPhone ( string $mainPhone ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set mainPhone.
setMainUrl ( string $mainUrl ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set mainUrl.
setName ( string $name ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set name.
setNumber ( string $number ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set number.
setParent ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $parent = null ) : Account Set parent.
setPlaceOfJurisdiction ( string $placeOfJurisdiction ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set placeOfJurisdiction.
setRegisterNumber ( string $registerNumber ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set registerNumber.
setRgt ( integer $rgt ) : Account Set rgt.
setUid ( string $uid ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Set uid.

Method Details

addAccountAddress() public method

Add accountAddresses.
public addAccountAddress ( AccountAddress $accountAddresses ) : Account
$accountAddresses AccountAddress
return Account

addAccountContact() public method

Add accountContacts.
public addAccountContact ( AccountContact $accountContacts ) : Account
$accountContacts AccountContact
return Account

addBankAccount() public method

Add bankAccounts.
public addBankAccount ( BankAccount $bankAccounts ) : Account
$bankAccounts BankAccount
return Account

addCategory() public method

Add categories.
public addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : Account
$category Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
return Account

addChild() public method

Add children.
public addChild ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $child ) : Account
$child Sulu\Bundle\ContactBundle\Entity\AccountInterface
return Account

addEmail() public method

Add emails.
public addEmail ( Email $emails ) : Account
$emails Email
return Account

addFax() public method

Add faxes.
public addFax ( Fax $faxes ) : Account
$faxes Fax
return Account

addMedia() public method

Add media.
public addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : Account
$media Sulu\Bundle\MediaBundle\Entity\MediaInterface
return Account

addNote() public method

Add notes.
public addNote ( Note $notes ) : Account
$notes Note
return Account

addPhone() public method

Add phones.
public addPhone ( Phone $phones ) : Account
$phones Phone
return Account

addTag() public method

Add tags.
public addTag ( Tag $tags ) : Account
$tags Sulu\Bundle\TagBundle\Entity\Tag
return Account

addUrl() public method

Add urls.
public addUrl ( Url $urls ) : Account
$urls Url
return Account

getAccountAddresses() public method

Get accountAddresses.
public getAccountAddresses ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getAccountContacts() public method

Get accountContacts.
public getAccountContacts ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getBankAccounts() public method

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

getCategories() public method

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

getChanged() public method

public getChanged ( ) : DateTime
return DateTime

getChanger() public method

public getChanger ( ) : mixed
return mixed

getChildren() public method

Get children.
public getChildren ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getContacts() public method

Get contacts.
public getContacts ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getCorporation() public method

Get corporation.
public getCorporation ( ) : string
return string

getCreated() public method

public getCreated ( ) : DateTime
return DateTime

getCreator() public method

public getCreator ( ) : mixed
return mixed

getDepth() public method

Get depth.
public getDepth ( ) : integer
return integer

getEmails() public method

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

getExternalId() public method

Get externalId.
public getExternalId ( ) : string
return string

getFaxes() public method

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

getId() public method

Get id.
public getId ( ) : integer
return integer

getLft() public method

Get lft.
public getLft ( ) : integer
return integer

getMainAddress() public method

Returns the main address.
public getMainAddress ( ) : mixed
return mixed

getMainContact() public method

public getMainContact ( ) : Contact
return Contact

getMainEmail() public method

Get mainEmail.
public getMainEmail ( ) : string
return string

getMainFax() public method

Get mainFax.
public getMainFax ( ) : string
return string

getMainPhone() public method

Get mainPhone.
public getMainPhone ( ) : string
return string

getMainUrl() public method

Get mainUrl.
public getMainUrl ( ) : string
return string

getMedias() public method

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

getName() public method

Get name.
public getName ( ) : string
return string

getNotes() public method

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

getNumber() public method

Get number.
public getNumber ( ) : string
return string

getParent() public method

Get parent.
public getParent ( ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

getPhones() public method

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

getPlaceOfJurisdiction() public method

Get placeOfJurisdiction.
public getPlaceOfJurisdiction ( ) : string
return string

getRegisterNumber() public method

Get registerNumber.
public getRegisterNumber ( ) : string
return string

getRgt() public method

Get rgt.
public getRgt ( ) : integer
return integer

getTags() public method

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

getUid() public method

Get uid.
public getUid ( ) : string
return string

getUrls() public method

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

removeAccountAddress() public method

Remove accountAddresses.
public removeAccountAddress ( AccountAddress $accountAddresses )
$accountAddresses AccountAddress

removeAccountContact() public method

Remove accountContacts.
public removeAccountContact ( AccountContact $accountContacts )
$accountContacts AccountContact

removeBankAccount() public method

Remove bankAccounts.
public removeBankAccount ( BankAccount $bankAccounts )
$bankAccounts BankAccount

removeCategory() public method

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

removeChild() public method

Remove children.
public removeChild ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $child )
$child Sulu\Bundle\ContactBundle\Entity\AccountInterface

removeEmail() public method

Remove emails.
public removeEmail ( Email $emails )
$emails Email

removeFax() public method

Remove faxes.
public removeFax ( Fax $faxes )
$faxes Fax

removeMedia() public method

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

removeNote() public method

Remove notes.
public removeNote ( Note $notes )
$notes Note

removePhone() public method

Remove phones.
public removePhone ( Phone $phones )
$phones Phone

removeTag() public method

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

removeUrl() public method

Remove urls.
public removeUrl ( Url $urls )
$urls Url

setChanged() public method

public setChanged ( DateTime $changed )
$changed DateTime

setChanger() public method

public setChanger ( mixed $changer )
$changer mixed

setCorporation() public method

Set corporation.
public setCorporation ( string $corporation ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
$corporation string
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

setCreated() public method

public setCreated ( DateTime $created )
$created DateTime

setCreator() public method

public setCreator ( mixed $creator )
$creator mixed

setDepth() public method

Set depth.
public setDepth ( integer $depth ) : Account
$depth integer
return Account

setExternalId() public method

Set externalId.
public setExternalId ( string $externalId ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
$externalId string
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

setLft() public method

Set lft.
public setLft ( integer $lft ) : Account
$lft integer
return Account

setMainContact() public method

public setMainContact ( Contact $mainContact )
$mainContact Contact

setMainEmail() public method

Set mainEmail.
public setMainEmail ( string $mainEmail ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
$mainEmail string
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

setMainFax() public method

Set mainFax.
public setMainFax ( string $mainFax ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
$mainFax string
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

setMainPhone() public method

Set mainPhone.
public setMainPhone ( string $mainPhone ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
$mainPhone string
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

setMainUrl() public method

Set mainUrl.
public setMainUrl ( string $mainUrl ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
$mainUrl string
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

setName() public method

Set name.
public setName ( string $name ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
$name string
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

setNumber() public method

Set number.
public setNumber ( string $number ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
$number string
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

setParent() public method

Set parent.
public setParent ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $parent = null ) : Account
$parent Sulu\Bundle\ContactBundle\Entity\AccountInterface
return Account

setPlaceOfJurisdiction() public method

Set placeOfJurisdiction.
public setPlaceOfJurisdiction ( string $placeOfJurisdiction ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
$placeOfJurisdiction string
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

setRegisterNumber() public method

Set registerNumber.
public setRegisterNumber ( string $registerNumber ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
$registerNumber string
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

setRgt() public method

Set rgt.
public setRgt ( integer $rgt ) : Account
$rgt integer
return Account

setUid() public method

Set uid.
public setUid ( string $uid ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
$uid string
return Sulu\Bundle\ContactBundle\Entity\AccountInterface