PHP 클래스 Sulu\Bundle\ContactBundle\Api\Account

상속: extends Sulu\Component\Rest\ApiWrapper
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account, string $locale )
addAccountAddress ( AccountAddress $accountAddress ) : Account Add accountAddresses.
addAccountContact ( AccountContact $accountContact ) : Account Add accountContacts.
addBankAccount ( BankAccount $bankAccount ) : Account Add bankAccounts.
addEmail ( Email $email ) : Account Add emails.
addFax ( Fax $fax ) : Account Add faxes.
addFaxe ( Fax $fax ) : 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 $tag ) : Account Add tags.
addUrl ( Url $url ) : Account Add urls.
getAccountAddresses ( ) : AccountAddress[] Get accountAddresses.
getAccountContacts ( ) : AccountContact[] Get accountContacts.
getAddresses ( ) returns addresses.
getBankAccounts ( ) : BankAccount[] Get bankAccounts.
getCategories ( ) : Category[] Get categories.
getChanged ( ) : DateTime Get changed.
getContacts ( ) : Contact[] Get contacts.
getCorporation ( ) : string Get corporation.
getCreated ( ) : DateTime Get created.
getDepth ( ) : integer Get depth.
getEmails ( ) : Email[] Get emails.
getExternalId ( ) : string Get externalId.
getFaxes ( ) : Fax[] Get faxes.
getId ( ) : integer Returns the id of the product.
getLogo ( ) : Media Get the accounts logo and return the array of different formats.
getMainAddress ( ) : mixed Returns the main address.
getMainContact ( ) : Account Get mainContact.
getMainEmail ( ) : string Get mainEmail.
getMainFax ( ) : string Get mainFax.
getMainPhone ( ) : string Get mainPhone.
getMainUrl ( ) : string Get mainUrl.
getMedias ( ) : Media[] Get medias.
getName ( ) : string Get name.
getNotes ( ) : Note[] Get notes.
getNumber ( ) : string Get number.
getParent ( ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Get parent.
getPhones ( ) : Phone[] Get phones.
getPlaceOfJurisdiction ( ) : string Get placeOfJurisdiction.
getRegisterNumber ( ) : string Get registerNumber.
getTags ( ) : Tag[] Get tags.
getType ( ) : string Get type of api entity.
getUid ( ) : string Get uid.
getUrls ( ) : Url[] Get urls.
removeAccountAddress ( AccountAddress $accountAddresses ) Remove accountAddresses.
removeAccountContact ( AccountContact $accountContact ) Remove accountContacts.
removeBankAccount ( BankAccount $bankAccount ) Remove bankAccounts.
removeEmail ( Email $email ) Remove emails.
removeFax ( Fax $fax ) Remove faxes.
removeFaxe ( Fax $fax ) : Account Remove faxes.
removeMedia ( MediaInterfae $media ) Remove medias.
removeNote ( Note $note ) Remove notes.
removePhone ( Phone $phone ) Remove phones.
removeTag ( Tag $tag ) Remove tags.
removeUrl ( Url $url ) Remove urls.
setCorporation ( string $corporation ) : Account Set corporation.
setDepth ( integer $depth ) : Account Set depth.
setExternalId ( string $externalId ) : Account Set externalId.
setLft ( integer $lft ) : Account Set lft.
setLogo ( Media $logo ) Sets the logo (media-api object).
setMainContact ( Contact $mainContact = null ) : Account Set mainContact.
setMainEmail ( string $mainEmail ) : Account Set mainEmail.
setMainFax ( string $mainFax ) : Account Set mainFax.
setMainPhone ( string $mainPhone ) : Account Set mainPhone.
setMainUrl ( string $mainUrl ) : Account Set mainUrl.
setName ( string $name ) : Account Set name.
setNumber ( string $number ) : Account Set number.
setParent ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $parent = null ) : Account Set parent.
setPlaceOfJurisdiction ( string $placeOfJurisdiction ) : Account Set placeOfJurisdiction.
setRegisterNumber ( string $registerNumber ) : Account Set registerNumber.
setRgt ( integer $rgt ) : Account Set rgt.
setUid ( string $uid ) : Account Set uid.

메소드 상세

__construct() 공개 메소드

public __construct ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account, string $locale )
$account Sulu\Bundle\ContactBundle\Entity\AccountInterface
$locale string The locale of this product

addAccountAddress() 공개 메소드

Add accountAddresses.
public addAccountAddress ( AccountAddress $accountAddress ) : Account
$accountAddress Sulu\Bundle\ContactBundle\Entity\AccountAddress
리턴 Account

addAccountContact() 공개 메소드

Add accountContacts.
public addAccountContact ( AccountContact $accountContact ) : Account
$accountContact Sulu\Bundle\ContactBundle\Entity\AccountContact
리턴 Account

addBankAccount() 공개 메소드

Add bankAccounts.
public addBankAccount ( BankAccount $bankAccount ) : Account
$bankAccount Sulu\Bundle\ContactBundle\Entity\BankAccount
리턴 Account

addEmail() 공개 메소드

Add emails.
public addEmail ( Email $email ) : Account
$email Sulu\Bundle\ContactBundle\Entity\Email
리턴 Account

addFax() 공개 메소드

Add faxes.
public addFax ( Fax $fax ) : Account
$fax Sulu\Bundle\ContactBundle\Entity\Fax
리턴 Account

addFaxe() 공개 메소드

Add faxes.
public addFaxe ( Fax $fax ) : Account
$fax Sulu\Bundle\ContactBundle\Entity\Fax
리턴 Account

addMedia() 공개 메소드

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

addNote() 공개 메소드

Add notes.
public addNote ( Note $notes ) : Account
$notes Sulu\Bundle\ContactBundle\Entity\Note
리턴 Account

addPhone() 공개 메소드

Add phones.
public addPhone ( Phone $phones ) : Account
$phones Sulu\Bundle\ContactBundle\Entity\Phone
리턴 Account

addTag() 공개 메소드

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

addUrl() 공개 메소드

Add urls.
public addUrl ( Url $url ) : Account
$url Sulu\Bundle\ContactBundle\Entity\Url
리턴 Account

getAccountAddresses() 공개 메소드

Get accountAddresses.
public getAccountAddresses ( ) : AccountAddress[]
리턴 Sulu\Bundle\ContactBundle\Entity\AccountAddress[]

getAccountContacts() 공개 메소드

Get accountContacts.
public getAccountContacts ( ) : AccountContact[]
리턴 AccountContact[]

getAddresses() 공개 메소드

returns addresses.
public getAddresses ( )

getBankAccounts() 공개 메소드

Get bankAccounts.
public getBankAccounts ( ) : BankAccount[]
리턴 Sulu\Bundle\ContactBundle\Entity\BankAccount[]

getCategories() 공개 메소드

Get categories.
public getCategories ( ) : Category[]
리턴 Sulu\Bundle\CategoryBundle\Api\Category[]

getChanged() 공개 메소드

Get changed.
public getChanged ( ) : DateTime
리턴 DateTime

getContacts() 공개 메소드

Get contacts.
public getContacts ( ) : Contact[]
리턴 Contact[]

getCorporation() 공개 메소드

Get corporation.
public getCorporation ( ) : string
리턴 string

getCreated() 공개 메소드

Get created.
public getCreated ( ) : DateTime
리턴 DateTime

getDepth() 공개 메소드

Get depth.
public getDepth ( ) : integer
리턴 integer

getEmails() 공개 메소드

Get emails.
public getEmails ( ) : Email[]
리턴 Sulu\Bundle\ContactBundle\Entity\Email[]

getExternalId() 공개 메소드

Get externalId.
public getExternalId ( ) : string
리턴 string

getFaxes() 공개 메소드

Get faxes.
public getFaxes ( ) : Fax[]
리턴 Sulu\Bundle\ContactBundle\Entity\Fax[]

getId() 공개 메소드

Returns the id of the product.
public getId ( ) : integer
리턴 integer

getMainAddress() 공개 메소드

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

getMainContact() 공개 메소드

Get mainContact.
public getMainContact ( ) : Account
리턴 Account

getMainEmail() 공개 메소드

Get mainEmail.
public getMainEmail ( ) : string
리턴 string

getMainFax() 공개 메소드

Get mainFax.
public getMainFax ( ) : string
리턴 string

getMainPhone() 공개 메소드

Get mainPhone.
public getMainPhone ( ) : string
리턴 string

getMainUrl() 공개 메소드

Get mainUrl.
public getMainUrl ( ) : string
리턴 string

getMedias() 공개 메소드

Get medias.
public getMedias ( ) : Media[]
리턴 Sulu\Bundle\MediaBundle\Api\Media[]

getName() 공개 메소드

Get name.
public getName ( ) : string
리턴 string

getNotes() 공개 메소드

Get notes.
public getNotes ( ) : Note[]
리턴 Sulu\Bundle\ContactBundle\Entity\Note[]

getNumber() 공개 메소드

Get number.
public getNumber ( ) : string
리턴 string

getParent() 공개 메소드

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

getPhones() 공개 메소드

Get phones.
public getPhones ( ) : Phone[]
리턴 Sulu\Bundle\ContactBundle\Entity\Phone[]

getPlaceOfJurisdiction() 공개 메소드

Get placeOfJurisdiction.
public getPlaceOfJurisdiction ( ) : string
리턴 string

getRegisterNumber() 공개 메소드

Get registerNumber.
public getRegisterNumber ( ) : string
리턴 string

getTags() 공개 메소드

Get tags.
public getTags ( ) : Tag[]
리턴 Sulu\Bundle\TagBundle\Entity\Tag[]

getType() 공개 메소드

Get type of api entity.
public getType ( ) : string
리턴 string

getUid() 공개 메소드

Get uid.
public getUid ( ) : string
리턴 string

getUrls() 공개 메소드

Get urls.
public getUrls ( ) : Url[]
리턴 Sulu\Bundle\ContactBundle\Entity\Url[]

removeAccountAddress() 공개 메소드

Remove accountAddresses.
public removeAccountAddress ( AccountAddress $accountAddresses )
$accountAddresses Sulu\Bundle\ContactBundle\Entity\AccountAddress

removeAccountContact() 공개 메소드

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

removeBankAccount() 공개 메소드

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

removeEmail() 공개 메소드

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

removeFax() 공개 메소드

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

removeFaxe() 공개 메소드

Remove faxes.
public removeFaxe ( Fax $fax ) : Account
$fax Sulu\Bundle\ContactBundle\Entity\Fax
리턴 Account

removeMedia() 공개 메소드

Remove medias.
public removeMedia ( MediaInterfae $media )
$media MediaInterfae

removeNote() 공개 메소드

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

removePhone() 공개 메소드

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

removeTag() 공개 메소드

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

removeUrl() 공개 메소드

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

setCorporation() 공개 메소드

Set corporation.
public setCorporation ( string $corporation ) : Account
$corporation string
리턴 Account

setDepth() 공개 메소드

Set depth.
public setDepth ( integer $depth ) : Account
$depth integer
리턴 Account

setExternalId() 공개 메소드

Set externalId.
public setExternalId ( string $externalId ) : Account
$externalId string
리턴 Account

setLft() 공개 메소드

Set lft.
public setLft ( integer $lft ) : Account
$lft integer
리턴 Account

setMainContact() 공개 메소드

Set mainContact.
public setMainContact ( Contact $mainContact = null ) : Account
$mainContact Sulu\Bundle\ContactBundle\Entity\Contact
리턴 Account

setMainEmail() 공개 메소드

Set mainEmail.
public setMainEmail ( string $mainEmail ) : Account
$mainEmail string
리턴 Account

setMainFax() 공개 메소드

Set mainFax.
public setMainFax ( string $mainFax ) : Account
$mainFax string
리턴 Account

setMainPhone() 공개 메소드

Set mainPhone.
public setMainPhone ( string $mainPhone ) : Account
$mainPhone string
리턴 Account

setMainUrl() 공개 메소드

Set mainUrl.
public setMainUrl ( string $mainUrl ) : Account
$mainUrl string
리턴 Account

setName() 공개 메소드

Set name.
public setName ( string $name ) : Account
$name string
리턴 Account

setNumber() 공개 메소드

Set number.
public setNumber ( string $number ) : Account
$number string
리턴 Account

setParent() 공개 메소드

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

setPlaceOfJurisdiction() 공개 메소드

Set placeOfJurisdiction.
public setPlaceOfJurisdiction ( string $placeOfJurisdiction ) : Account
$placeOfJurisdiction string
리턴 Account

setRegisterNumber() 공개 메소드

Set registerNumber.
public setRegisterNumber ( string $registerNumber ) : Account
$registerNumber string
리턴 Account

setRgt() 공개 메소드

Set rgt.
public setRgt ( integer $rgt ) : Account
$rgt integer
리턴 Account

setUid() 공개 메소드

Set uid.
public setUid ( string $uid ) : Account
$uid string
리턴 Account