LogEntryRepository

Sys log entry repository

Internal

This class is a TYPO3 Backend implementation and is not considered part of the Public TYPO3 API.

Table of Contents

Methods

deleteByMessageDetails()  : int
Deletes all messages which have the same message details
findByConstraint()  : array<string|int, LogEntry>
Finds all log entries that match all given constraints.
findByUid()  : LogEntry|null
getUsedChannels()  : array<string|int, mixed>
getUsedLevels()  : array<string|int, mixed>
addPageTreeConstraintsToQuery()  : string|null
Adds constraints for the page(s) to the query; this could be one single page or a whole subtree beneath a given page.
addUsersAndGroupsToQueryConstraints()  : array<string|int, mixed>
Adds users and groups to the query constraints.
createQuery()  : QueryBuilder
createQueryConstraints()  : array<string|int, mixed>
Create an array of query constraints from constraint object

Methods

deleteByMessageDetails()

Deletes all messages which have the same message details

public deleteByMessageDetails(LogEntry $logEntry) : int
Parameters
$logEntry : LogEntry
Return values
int

findByConstraint()

Finds all log entries that match all given constraints.

public findByConstraint(Constraint $constraint) : array<string|int, LogEntry>
Parameters
$constraint : Constraint
Return values
array<string|int, LogEntry>

getUsedChannels()

public getUsedChannels() : array<string|int, mixed>
Return values
array<string|int, mixed>

getUsedLevels()

public getUsedLevels() : array<string|int, mixed>
Return values
array<string|int, mixed>

addPageTreeConstraintsToQuery()

Adds constraints for the page(s) to the query; this could be one single page or a whole subtree beneath a given page.

protected addPageTreeConstraintsToQuery(Constraint $constraint, QueryBuilder $query) : string|null
Parameters
$constraint : Constraint
$query : QueryBuilder
Return values
string|null

addUsersAndGroupsToQueryConstraints()

Adds users and groups to the query constraints.

protected addUsersAndGroupsToQueryConstraints(Constraint $constraint, QueryBuilder $query) : array<string|int, mixed>
Parameters
$constraint : Constraint
$query : QueryBuilder
Return values
array<string|int, mixed>

createQueryConstraints()

Create an array of query constraints from constraint object

protected createQueryConstraints(QueryBuilder $query, Constraint $constraint) : array<string|int, mixed>
Parameters
$query : QueryBuilder
$constraint : Constraint
Return values
array<string|int, mixed>

        
On this page

Search results