EventRepository
class EventRepository extends Repository (View source)
The repository for events
Properties
protected array | $defaultOrderings |
Methods
QueryResultInterface
findRelevantEventsByWorkspace(int $offset, int $limit, string $workspaceName)
Find all events which are "top-level" and in a given workspace (or are not NodeEvents)
QueryResultInterface
findRelevantEvents(int $offset, int $limit)
Find all events which are "top-level", i.e. do not have a parent event.
Query
prepareRelevantEventsQuery()
No description
void
removeAll()
Remove all events without checking foreign keys. Needed for clearing the table during tests.
Details
QueryResultInterface
findRelevantEventsByWorkspace(int $offset, int $limit, string $workspaceName)
Find all events which are "top-level" and in a given workspace (or are not NodeEvents)
QueryResultInterface
findRelevantEvents(int $offset, int $limit)
Find all events which are "top-level", i.e. do not have a parent event.
protected Query
prepareRelevantEventsQuery()
No description
void
removeAll()
Remove all events without checking foreign keys. Needed for clearing the table during tests.