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

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

공개 메소드들

메소드 설명
getId ( ) : integer Get id.
getPosition ( ) : string Get position.
jsonSerialize ( ) : mixed (PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON.
setPosition ( string $position ) : Position Set position.

메소드 상세

getId() 공개 메소드

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

getPosition() 공개 메소드

Get position.
public getPosition ( ) : 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

setPosition() 공개 메소드

Set position.
public setPosition ( string $position ) : Position
$position string
리턴 Position