PHP Class Newscoop\Services\AuditService

Afficher le fichier Open project: sourcefabric/newscoop

Protected Properties

Свойство Type Description
$em Doctrine\ORM\EntityManager
$userService Newscoop\Services\UserService

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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

countBy() public méthode

public countBy ( array $criteria )
$criteria array

findAll() public méthode

Find all records
public findAll ( ) : array
Résultat array

findBy() public méthode

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
Résultat array

getActionTypes() public méthode

public getActionTypes ( )

getResourceTypes() public méthode

public getResourceTypes ( )

update() public méthode

Update audit
public update ( GenericEvent $event ) : void
$event Newscoop\EventDispatcher\Events\GenericEvent
Résultat void

Property Details

$em protected_oe property

protected EntityManager,Doctrine\ORM $em
Résultat Doctrine\ORM\EntityManager

$userService protected_oe property

protected Newscoop\Services\UserService $userService
Résultat Newscoop\Services\UserService