PHP 클래스 Newscoop\Services\AuditService

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

보호된 프로퍼티들

프로퍼티 타입 설명
$em Doctrine\ORM\EntityManager
$userService Newscoop\Services\UserService

공개 메소드들

메소드 설명
__construct ( EntityManager $em, UserService $userService )
countBy ( array $criteria )
findAll ( ) : array Find all records
findBy ( array $criteria, array | null $orderBy = null, integer | null $limit = null, integer | null $offset = null ) : array Find records by set of criteria
getActionTypes ( )
getResourceTypes ( )
update ( GenericEvent $event ) : void Update audit

메소드 상세

__construct() 공개 메소드

public __construct ( EntityManager $em, UserService $userService )
$em Doctrine\ORM\EntityManager
$userService UserService

countBy() 공개 메소드

public countBy ( array $criteria )
$criteria array

findAll() 공개 메소드

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

findBy() 공개 메소드

Find records by set of criteria
public findBy ( array $criteria, array | null $orderBy = null, integer | null $limit = null, integer | null $offset = null ) : array
$criteria array
$orderBy array | null
$limit integer | null
$offset integer | null
리턴 array

getActionTypes() 공개 메소드

public getActionTypes ( )

getResourceTypes() 공개 메소드

public getResourceTypes ( )

update() 공개 메소드

Update audit
public update ( GenericEvent $event ) : void
$event Newscoop\EventDispatcher\Events\GenericEvent
리턴 void

프로퍼티 상세

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

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

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

protected Newscoop\Services\UserService $userService
리턴 Newscoop\Services\UserService