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

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

공개 메소드들

메소드 설명
__construct ( ) Constructor.
addFax ( Fax $faxes ) : FaxType Add faxes.
addFaxe ( Fax $faxes ) : FaxType Add faxes.
getFaxes ( ) : Doctrine\Common\Collections\Collection Get faxes.
getId ( ) : integer Get id.
getName ( ) : string Get name.
jsonSerialize ( ) : mixed (PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON.
removeFax ( Fax $faxes ) Remove faxes.
removeFaxe ( Fax $faxes ) Remove faxes.
setId ( integer $id ) To force id = 1 in load fixtures.
setName ( string $name ) : FaxType Set name.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

addFax() 공개 메소드

Add faxes.
public addFax ( Fax $faxes ) : FaxType
$faxes Fax
리턴 FaxType

addFaxe() 공개 메소드

Add faxes.
public addFaxe ( Fax $faxes ) : FaxType
$faxes Fax
리턴 FaxType

getFaxes() 공개 메소드

Get faxes.
public getFaxes ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getId() 공개 메소드

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

getName() 공개 메소드

Get name.
public getName ( ) : string
리턴 string

jsonSerialize() 공개 메소드

(PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON.
public jsonSerialize ( ) : mixed
리턴 mixed data which can be serialized by json_encode, which is a value of any type other than a resource

removeFax() 공개 메소드

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

removeFaxe() 공개 메소드

Remove faxes.
public removeFaxe ( Fax $faxes )
$faxes Fax

setId() 공개 메소드

To force id = 1 in load fixtures.
public setId ( integer $id )
$id integer

setName() 공개 메소드

Set name.
public setName ( string $name ) : FaxType
$name string
리턴 FaxType