PHP 클래스 Sulu\Bundle\ContactBundle\Entity\Phone

파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Constructor.
addAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) : Phone Add accounts.
addContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) : Phone Add contacts.
getAccounts ( ) : Doctrine\Common\Collections\Collection Get accounts.
getContacts ( ) : Doctrine\Common\Collections\Collection Get contacts.
getId ( ) : integer Get id.
getPhone ( ) : string Get phone.
getPhoneType ( ) : PhoneType Get phoneType.
removeAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) Remove accounts.
removeContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) Remove contacts.
setPhone ( string $phone ) : Phone Set phone.
setPhoneType ( PhoneType $phoneType ) : Phone Set phoneType.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

addAccount() 공개 메소드

Add accounts.
public addAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) : Phone
$account Sulu\Bundle\ContactBundle\Entity\AccountInterface
리턴 Phone

addContact() 공개 메소드

Add contacts.
public addContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) : Phone
$contacts Sulu\Component\Contact\Model\ContactInterface
리턴 Phone

getAccounts() 공개 메소드

Get accounts.
public getAccounts ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getContacts() 공개 메소드

Get contacts.
public getContacts ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getId() 공개 메소드

Get id.
public getId ( ) : integer
리턴 integer

getPhone() 공개 메소드

Get phone.
public getPhone ( ) : string
리턴 string

getPhoneType() 공개 메소드

Get phoneType.
public getPhoneType ( ) : PhoneType
리턴 PhoneType

removeAccount() 공개 메소드

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

removeContact() 공개 메소드

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

setPhone() 공개 메소드

Set phone.
public setPhone ( string $phone ) : Phone
$phone string
리턴 Phone

setPhoneType() 공개 메소드

Set phoneType.
public setPhoneType ( PhoneType $phoneType ) : Phone
$phoneType PhoneType
리턴 Phone