PHP Class Sulu\Bundle\ContactBundle\Entity\Fax

显示文件 Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
addAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) : Fax Add accounts.
addContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) : Fax Add contacts.
getAccounts ( ) : Doctrine\Common\Collections\Collection Get accounts.
getContacts ( ) : Doctrine\Common\Collections\Collection Get contacts.
getFax ( ) : string Get fax.
getFaxType ( ) : FaxType Get faxType.
getId ( ) : integer Get id.
removeAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) Remove accounts.
removeContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) Remove contacts.
setFax ( string $fax ) : Fax Set fax.
setFaxType ( FaxType $faxType ) : Fax Set faxType.

Method Details

__construct() public method

Constructor.
public __construct ( )

addAccount() public method

Add accounts.
public addAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) : Fax
$account Sulu\Bundle\ContactBundle\Entity\AccountInterface
return Fax

addContact() public method

Add contacts.
public addContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) : Fax
$contacts Sulu\Component\Contact\Model\ContactInterface
return Fax

getAccounts() public method

Get accounts.
public getAccounts ( ) : 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

getFax() public method

Get fax.
public getFax ( ) : string
return string

getFaxType() public method

Get faxType.
public getFaxType ( ) : FaxType
return FaxType

getId() public method

Get id.
public getId ( ) : integer
return integer

removeAccount() public method

Remove accounts.
public removeAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account )
$account Sulu\Bundle\ContactBundle\Entity\AccountInterface

removeContact() public method

Remove contacts.
public removeContact ( Sulu\Component\Contact\Model\ContactInterface $contacts )
$contacts Sulu\Component\Contact\Model\ContactInterface

setFax() public method

Set fax.
public setFax ( string $fax ) : Fax
$fax string
return Fax

setFaxType() public method

Set faxType.
public setFaxType ( FaxType $faxType ) : Fax
$faxType FaxType
return Fax