PHP 클래스 Newscoop\GimmeBundle\Entity\Client

상속: extends FOS\OAuthServerBundle\Entity\Client
파일 보기 프로젝트 열기: sourcefabric/newscoop

보호된 프로퍼티들

프로퍼티 타입 설명
$id
$name
$publication Newscoop\Entity\Publication
$trusted
$users array

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

Construct Client object
public __construct ( )

addUser() 공개 메소드

Add User to client
public addUser ( User $user ) : self
$user Newscoop\Entity\User
리턴 self

getId() 공개 메소드

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

getName() 공개 메소드

Gets the value of name.
public getName ( ) : mixed
리턴 mixed

getPublication() 공개 메소드

Gets the value of publication.
public getPublication ( ) : Newscoop\Entity\Publication
리턴 Newscoop\Entity\Publication

getRedirectUrisString() 공개 메소드

getTrusted() 공개 메소드

Gets trusted status.
public getTrusted ( ) : boolean
리턴 boolean

getUsers() 공개 메소드

Get all Client users
public getUsers ( ) : ArrayCollection
리턴 Doctrine\Common\Collections\ArrayCollection

setId() 공개 메소드

Sets the value of id.
public setId ( mixed $id ) : self
$id mixed the id
리턴 self

setName() 공개 메소드

Sets the value of name.
public setName ( mixed $name ) : self
$name mixed the name
리턴 self

setPublication() 공개 메소드

Sets the value of publication.
public setPublication ( Publication $publication ) : self
$publication Newscoop\Entity\Publication the publication
리턴 self

setTrusted() 공개 메소드

Sets trusted status.
public setTrusted ( boolean $trusted ) : self
$trusted boolean App status
리턴 self

프로퍼티 상세

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

protected $id

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

protected $name

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

protected Newscoop\Entity\Publication $publication
리턴 Newscoop\Entity\Publication

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

protected $trusted

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

protected array $users
리턴 array