PHP Класс Sulu\Bundle\ContactBundle\Entity\AbstractAccount

Наследование: extends BaseAccount, implements Sulu\Component\Persistence\Model\AuditableInterface, implements Sulu\Bundle\ContactBundle\Entity\AccountInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$accountAddresses Doctrine\Common\Collections\Collection
$accountContacts Doctrine\Common\Collections\Collection
$addresses string main account.
$bankAccounts Doctrine\Common\Collections\Collection
$categories Doctrine\Common\Collections\Collection
$children Doctrine\Common\Collections\Collection
$depth integer
$emails Doctrine\Common\Collections\Collection
$faxes Doctrine\Common\Collections\Collection
$lft integer
$medias Doctrine\Common\Collections\Collection
$notes Doctrine\Common\Collections\Collection
$parent Sulu\Bundle\ContactBundle\Entity\AccountInterface
$phones Doctrine\Common\Collections\Collection
$rgt integer
$tags Doctrine\Common\Collections\Collection
$urls Doctrine\Common\Collections\Collection

Открытые методы

Метод Описание
__construct ( ) Constructor.
addAccountAddress ( AccountAddress $accountAddress ) : Account Add accountAddresses.
addAccountContact ( AccountContact $accountContacts ) : Account Add accountContact.
addBankAccount ( BankAccount $bankAccount ) : Account Add bankAccounts.
addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : Account Add categories.
addChild ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $children ) : Account Add children.
addChildren ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $children ) : Account Add children.
addEmail ( Email $email ) : Account Add emails.
addFax ( Fax $fax ) : Account Add faxes.
addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : Account Add medias.
addNote ( Note $note ) : Account Add notes.
addPhone ( Phone $phone ) : Account Add phones.
addTag ( Tag $tag ) : Account Add tags.
addUrl ( Url $urls ) : Account Add urls.
getAccountAddresses ( ) : Doctrine\Common\Collections\Collection Get accountAddresses.
getAccountContacts ( ) : Doctrine\Common\Collections\Collection Get accountContacts.
getAddresses ( ) returns main account.
getBankAccounts ( ) : Doctrine\Common\Collections\Collection Get bankAccounts.
getCategories ( ) : Doctrine\Common\Collections\Collection Get categories.
getChildren ( ) : Doctrine\Common\Collections\Collection Get children.
getContacts ( ) : Doctrine\Common\Collections\Collection Get contacts.
getDepth ( ) : integer Get depth.
getEmails ( ) : Doctrine\Common\Collections\Collection Get emails.
getFaxes ( ) : Doctrine\Common\Collections\Collection Get faxes.
getLft ( ) : integer Get lft.
getMainAddress ( ) : mixed Returns the main address.
getMedias ( ) : Doctrine\Common\Collections\Collection Get medias.
getNotes ( ) : Doctrine\Common\Collections\Collection Get notes.
getParent ( ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Get parent.
getPhones ( ) : Doctrine\Common\Collections\Collection Get phones.
getRgt ( ) : integer Get rgt.
getTagNameArray ( ) : array parses tags to array containing tag names.
getTags ( ) : Doctrine\Common\Collections\Collection Get tags.
getUrls ( ) : Doctrine\Common\Collections\Collection Get urls.
removeAccountAddress ( AccountAddress $accountAddress ) Remove accountAddresses.
removeAccountContact ( AccountContact $accountContacts ) Remove accountContacts.
removeBankAccount ( BankAccount $bankAccount ) Remove bankAccount.
removeCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) Remove category.
removeChild ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $children ) Remove children.
removeChildren ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $children ) Remove children.
removeEmail ( Email $email ) Remove emails.
removeFax ( Fax $fax ) Remove fax.
removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) Remove medias.
removeNote ( Note $note ) Remove notes.
removePhone ( Phone $phone ) Remove phone.
removeTag ( Tag $tag ) Remove tag.
removeUrl ( Url $url ) Remove url.
setDepth ( integer $depth ) : Account Set depth.
setLft ( integer $lft ) : Account Set lft.
setParent ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $parent = null ) : Account Set parent.
setRgt ( integer $rgt ) : Account Set rgt.

Описание методов

__construct() публичный метод

Constructor.
public __construct ( )

addAccountAddress() публичный метод

Add accountAddresses.
public addAccountAddress ( AccountAddress $accountAddress ) : Account
$accountAddress AccountAddress
Результат Account

addAccountContact() публичный метод

Add accountContact.
public addAccountContact ( AccountContact $accountContacts ) : Account
$accountContacts AccountContact
Результат Account

addBankAccount() публичный метод

Add bankAccounts.
public addBankAccount ( BankAccount $bankAccount ) : Account
$bankAccount BankAccount
Результат Account

addCategory() публичный метод

Add categories.
public addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : Account
$category Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
Результат Account

addChild() публичный метод

Add children.
public addChild ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $children ) : Account
$children Sulu\Bundle\ContactBundle\Entity\AccountInterface
Результат Account

addChildren() публичный метод

Add children.
public addChildren ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $children ) : Account
$children Sulu\Bundle\ContactBundle\Entity\AccountInterface
Результат Account

addEmail() публичный метод

Add emails.
public addEmail ( Email $email ) : Account
$email Email
Результат Account

addFax() публичный метод

Add faxes.
public addFax ( Fax $fax ) : Account
$fax Fax
Результат Account

addMedia() публичный метод

Add medias.
public addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : Account
$media Sulu\Bundle\MediaBundle\Entity\MediaInterface
Результат Account

addNote() публичный метод

Add notes.
public addNote ( Note $note ) : Account
$note Note
Результат Account

addPhone() публичный метод

Add phones.
public addPhone ( Phone $phone ) : Account
$phone Phone
Результат Account

addTag() публичный метод

Add tags.
public addTag ( Tag $tag ) : Account
$tag Sulu\Bundle\TagBundle\Entity\Tag
Результат Account

addUrl() публичный метод

Add urls.
public addUrl ( Url $urls ) : Account
$urls Url
Результат Account

getAccountAddresses() публичный метод

Get accountAddresses.
public getAccountAddresses ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getAccountContacts() публичный метод

Get accountContacts.
public getAccountContacts ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getAddresses() публичный метод

returns main account.
public getAddresses ( )

getBankAccounts() публичный метод

Get bankAccounts.
public getBankAccounts ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getCategories() публичный метод

Get categories.
public getCategories ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getChildren() публичный метод

Get children.
public getChildren ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getContacts() публичный метод

Get contacts.
public getContacts ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getDepth() публичный метод

Get depth.
public getDepth ( ) : integer
Результат integer

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

getLft() публичный метод

Get lft.
public getLft ( ) : integer
Результат integer

getMainAddress() публичный метод

Returns the main address.
public getMainAddress ( ) : mixed
Результат mixed

getMedias() публичный метод

Get medias.
public getMedias ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getNotes() публичный метод

Get notes.
public getNotes ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getParent() публичный метод

Get parent.
public getParent ( ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
Результат Sulu\Bundle\ContactBundle\Entity\AccountInterface

getPhones() публичный метод

Get phones.
public getPhones ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getRgt() публичный метод

Get rgt.
public getRgt ( ) : integer
Результат integer

getTagNameArray() публичный метод

parses tags to array containing tag names.
public getTagNameArray ( ) : array
Результат array

getTags() публичный метод

Get tags.
public getTags ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

getUrls() публичный метод

Get urls.
public getUrls ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

removeAccountAddress() публичный метод

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

removeAccountContact() публичный метод

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

removeBankAccount() публичный метод

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

removeCategory() публичный метод

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

removeChild() публичный метод

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

removeChildren() публичный метод

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

removeEmail() публичный метод

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

removeFax() публичный метод

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

removeMedia() публичный метод

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

removeNote() публичный метод

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

removePhone() публичный метод

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

removeTag() публичный метод

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

removeUrl() публичный метод

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

setDepth() публичный метод

Set depth.
public setDepth ( integer $depth ) : Account
$depth integer
Результат Account

setLft() публичный метод

Set lft.
public setLft ( integer $lft ) : Account
$lft integer
Результат Account

setParent() публичный метод

Set parent.
public setParent ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $parent = null ) : Account
$parent Sulu\Bundle\ContactBundle\Entity\AccountInterface
Результат Account

setRgt() публичный метод

Set rgt.
public setRgt ( integer $rgt ) : Account
$rgt integer
Результат Account

Описание свойств

$accountAddresses защищенное свойство

protected Collection,Doctrine\Common\Collections $accountAddresses
Результат Doctrine\Common\Collections\Collection

$accountContacts защищенное свойство

protected Collection,Doctrine\Common\Collections $accountContacts
Результат Doctrine\Common\Collections\Collection

$addresses защищенное свойство

main account.
protected string $addresses
Результат string

$bankAccounts защищенное свойство

protected Collection,Doctrine\Common\Collections $bankAccounts
Результат Doctrine\Common\Collections\Collection

$categories защищенное свойство

protected Collection,Doctrine\Common\Collections $categories
Результат Doctrine\Common\Collections\Collection

$children защищенное свойство

protected Collection,Doctrine\Common\Collections $children
Результат Doctrine\Common\Collections\Collection

$depth защищенное свойство

protected int $depth
Результат integer

$emails защищенное свойство

protected Collection,Doctrine\Common\Collections $emails
Результат Doctrine\Common\Collections\Collection

$faxes защищенное свойство

protected Collection,Doctrine\Common\Collections $faxes
Результат Doctrine\Common\Collections\Collection

$lft защищенное свойство

protected int $lft
Результат integer

$medias защищенное свойство

protected Collection,Doctrine\Common\Collections $medias
Результат Doctrine\Common\Collections\Collection

$notes защищенное свойство

protected Collection,Doctrine\Common\Collections $notes
Результат Doctrine\Common\Collections\Collection

$parent защищенное свойство

protected AccountInterface,Sulu\Bundle\ContactBundle\Entity $parent
Результат Sulu\Bundle\ContactBundle\Entity\AccountInterface

$phones защищенное свойство

protected Collection,Doctrine\Common\Collections $phones
Результат Doctrine\Common\Collections\Collection

$rgt защищенное свойство

protected int $rgt
Результат integer

$tags защищенное свойство

protected Collection,Doctrine\Common\Collections $tags
Результат Doctrine\Common\Collections\Collection

$urls защищенное свойство

protected Collection,Doctrine\Common\Collections $urls
Результат Doctrine\Common\Collections\Collection