PHP 클래스 Newscoop\Entity\UserTopic

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

보호된 프로퍼티들

프로퍼티 타입 설명
$id integer
$topic Newscoop\NewscoopBundle\Entity\Topic
$user User

공개 메소드들

메소드 설명
__construct ( User $user, Topic $topic )
getId ( ) : integer Gets the value of id.
getTopic ( ) : Topic Get topic
getTopicId ( ) : integer Get topic id
getUser ( ) : User Gets the value of user.

메소드 상세

__construct() 공개 메소드

public __construct ( User $user, Topic $topic )
$user User
$topic Newscoop\NewscoopBundle\Entity\Topic

getId() 공개 메소드

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

getTopic() 공개 메소드

Get topic
public getTopic ( ) : Topic
리턴 Newscoop\NewscoopBundle\Entity\Topic

getTopicId() 공개 메소드

Get topic id
public getTopicId ( ) : integer
리턴 integer

getUser() 공개 메소드

Gets the value of user.
public getUser ( ) : User
리턴 User

프로퍼티 상세

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

protected int $id
리턴 integer

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

protected Topic,Newscoop\NewscoopBundle\Entity $topic
리턴 Newscoop\NewscoopBundle\Entity\Topic

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

protected User,Newscoop\Entity $user
리턴 User