PHP 클래스 Newscoop\Services\UserPointsService

파일 보기 프로젝트 열기: sourcefabric/newscoop

보호된 프로퍼티들

프로퍼티 타입 설명
$em Doctrine\ORM\EntityManager

공개 메소드들

메소드 설명
__construct ( EntityManager $em )
find ( string $action ) : UserPoints Find UserPoints entity object for this action.
findAll ( ) : array Find all userpoints
update ( GenericEvent $event ) : void Receives notifications of points events.
updateEntries ( array $values ) : void Update a points entry

보호된 메소드들

메소드 설명
getRepository ( ) : Newscoop\Entity\Repository\UserPointsRepository Get repository for userpoints entity

메소드 상세

__construct() 공개 메소드

public __construct ( EntityManager $em )
$em Doctrine\ORM\EntityManager

find() 공개 메소드

Find UserPoints entity object for this action.
public find ( string $action ) : UserPoints
$action string
리턴 Newscoop\Entity\UserPoints

findAll() 공개 메소드

Find all userpoints
public findAll ( ) : array
리턴 array

getRepository() 보호된 메소드

Get repository for userpoints entity
protected getRepository ( ) : Newscoop\Entity\Repository\UserPointsRepository
리턴 Newscoop\Entity\Repository\UserPointsRepository

update() 공개 메소드

Receives notifications of points events.
public update ( GenericEvent $event ) : void
$event Newscoop\EventDispatcher\Events\GenericEvent
리턴 void

updateEntries() 공개 메소드

Update a points entry
public updateEntries ( array $values ) : void
$values array
리턴 void

프로퍼티 상세

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

protected EntityManager,Doctrine\ORM $em
리턴 Doctrine\ORM\EntityManager