PHP Class Sulu\Bundle\ContactBundle\Entity\Note

Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
addAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) : Note Add accounts.
addContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) : Note Add contacts.
getAccounts ( ) : Doctrine\Common\Collections\Collection Get accounts.
getContacts ( ) : Doctrine\Common\Collections\Collection Get contacts.
getId ( ) : integer Get id.
getValue ( ) : string Get value.
removeAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) Remove accounts.
removeContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) Remove contacts.
setValue ( string $value ) : Note Set value.

Method Details

__construct() public method

Constructor.
public __construct ( )

addAccount() public method

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

addContact() public method

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

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

getId() public method

Get id.
public getId ( ) : integer
return integer

getValue() public method

Get value.
public getValue ( ) : string
return string

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

setValue() public method

Set value.
public setValue ( string $value ) : Note
$value string
return Note