PHP Class Ojs\JournalBundle\Entity\JournalUser

Inheritance: implements Ojs\JournalBundle\Entity\JournalItemInterface
Mostra file Open project: ojs/ojs Class Usage Examples

Public Methods

Method Description
__construct ( )
__toString ( )
addRole ( Role $role )
getId ( ) : integer
getJournal ( ) : Journal
getRoles ( ) : Doctrine\Common\Collections\Collection
getUser ( ) : User
removeRole ( Role $role )
setId ( integer $id )
setJournal ( Journal $journal )
setRoles ( Doctrine\Common\Collections\Collection $roles )
setUser ( User $user )

Method Details

__construct() public method

public __construct ( )

__toString() public method

public __toString ( )

addRole() public method

public addRole ( Role $role )
$role Ojs\UserBundle\Entity\Role

getId() public method

public getId ( ) : integer
return integer

getJournal() public method

public getJournal ( ) : Journal
return Journal

getRoles() public method

public getRoles ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getUser() public method

public getUser ( ) : User
return Ojs\UserBundle\Entity\User

removeRole() public method

public removeRole ( Role $role )
$role Ojs\UserBundle\Entity\Role

setId() public method

public setId ( integer $id )
$id integer

setJournal() public method

public setJournal ( Journal $journal )
$journal Journal

setRoles() public method

public setRoles ( Doctrine\Common\Collections\Collection $roles )
$roles Doctrine\Common\Collections\Collection

setUser() public method

public setUser ( User $user )
$user Ojs\UserBundle\Entity\User