PHP Class Sulu\Bundle\ContactBundle\Entity\Url

Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
addAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) : Url Add accounts.
addContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) : Url Add contacts.
getAccounts ( ) : Doctrine\Common\Collections\Collection Get accounts.
getContacts ( ) : Doctrine\Common\Collections\Collection Get contacts.
getId ( ) : integer Get id.
getUrl ( ) : string Get url.
getUrlType ( ) : UrlType Get urlType.
removeAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) Remove accounts.
removeContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) Remove contacts.
setUrl ( string $url ) : Url Set url.
setUrlType ( UrlType $urlType ) : Url Set urlType.

Method Details

__construct() public method

Constructor.
public __construct ( )

addAccount() public method

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

addContact() public method

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

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

getUrl() public method

Get url.
public getUrl ( ) : string
return string

getUrlType() public method

Get urlType.
public getUrlType ( ) : UrlType
return UrlType

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

setUrl() public method

Set url.
public setUrl ( string $url ) : Url
$url string
return Url

setUrlType() public method

Set urlType.
public setUrlType ( UrlType $urlType ) : Url
$urlType UrlType
return Url