PHP 클래스 Newscoop\Entity\AuthorType

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

보호된 프로퍼티들

프로퍼티 타입 설명
$authors Doctrine\Common\Collections\ArrayCollection
$id integer
$type

공개 메소드들

메소드 설명
__construct ( string $type = null )
__toString ( ) : string
getId ( ) : integer Gets the value of id.
getType ( ) : string Get type field
setType ( $type ) Set type field

메소드 상세

__construct() 공개 메소드

public __construct ( string $type = null )
$type string

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

getId() 공개 메소드

Gets the value of id.
public getId ( ) : integer
리턴 integer

getType() 공개 메소드

Get type field
public getType ( ) : string
리턴 string The name of the type.

setType() 공개 메소드

Set type field
public setType ( $type )

프로퍼티 상세

$authors 보호되어 있는 프로퍼티

protected ArrayCollection,Doctrine\Common\Collections $authors
리턴 Doctrine\Common\Collections\ArrayCollection

$id 보호되어 있는 프로퍼티

protected int $id
리턴 integer

$type 보호되어 있는 프로퍼티

protected $type