PHP Class Newscoop\GimmeBundle\Entity\Client

Inheritance: extends FOS\OAuthServerBundle\Entity\Client
Afficher le fichier Open project: sourcefabric/newscoop

Protected Properties

Свойство Type Description
$id
$name
$publication Newscoop\Entity\Publication
$trusted
$users array

Méthodes publiques

Méthode Description
__construct ( ) Construct Client object
addUser ( User $user ) : self Add User to client
getId ( ) : mixed Gets the value of id.
getName ( ) : mixed Gets the value of name.
getPublication ( ) : Newscoop\Entity\Publication Gets the value of publication.
getRedirectUrisString ( )
getTrusted ( ) : boolean Gets trusted status.
getUsers ( ) : ArrayCollection Get all Client users
setId ( mixed $id ) : self Sets the value of id.
setName ( mixed $name ) : self Sets the value of name.
setPublication ( Publication $publication ) : self Sets the value of publication.
setTrusted ( boolean $trusted ) : self Sets trusted status.

Method Details

__construct() public méthode

Construct Client object
public __construct ( )

addUser() public méthode

Add User to client
public addUser ( User $user ) : self
$user Newscoop\Entity\User
Résultat self

getId() public méthode

Gets the value of id.
public getId ( ) : mixed
Résultat mixed

getName() public méthode

Gets the value of name.
public getName ( ) : mixed
Résultat mixed

getPublication() public méthode

Gets the value of publication.
public getPublication ( ) : Newscoop\Entity\Publication
Résultat Newscoop\Entity\Publication

getRedirectUrisString() public méthode

getTrusted() public méthode

Gets trusted status.
public getTrusted ( ) : boolean
Résultat boolean

getUsers() public méthode

Get all Client users
public getUsers ( ) : ArrayCollection
Résultat Doctrine\Common\Collections\ArrayCollection

setId() public méthode

Sets the value of id.
public setId ( mixed $id ) : self
$id mixed the id
Résultat self

setName() public méthode

Sets the value of name.
public setName ( mixed $name ) : self
$name mixed the name
Résultat self

setPublication() public méthode

Sets the value of publication.
public setPublication ( Publication $publication ) : self
$publication Newscoop\Entity\Publication the publication
Résultat self

setTrusted() public méthode

Sets trusted status.
public setTrusted ( boolean $trusted ) : self
$trusted boolean App status
Résultat self

Property Details

$id protected_oe property

protected $id

$name protected_oe property

protected $name

$publication protected_oe property

protected Newscoop\Entity\Publication $publication
Résultat Newscoop\Entity\Publication

$trusted protected_oe property

protected $trusted

$users protected_oe property

protected array $users
Résultat array