PHP Class Newscoop\Entity\UserTopic

Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$id integer
$topic Newscoop\NewscoopBundle\Entity\Topic
$user User

Public Methods

Method Description
__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.

Method Details

__construct() public method

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

getId() public method

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

getTopic() public method

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

getTopicId() public method

Get topic id
public getTopicId ( ) : integer
return integer

getUser() public method

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

Property Details

$id protected_oe property

protected int $id
return integer

$topic protected_oe property

protected Topic,Newscoop\NewscoopBundle\Entity $topic
return Newscoop\NewscoopBundle\Entity\Topic

$user protected_oe property

protected User,Newscoop\Entity $user
return User