TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
LogEntryRepository Class Reference
Inheritance diagram for LogEntryRepository:
Repository RepositoryInterface SingletonInterface

Public Member Functions

 findByConstraint (\TYPO3\CMS\Belog\Domain\Model\Constraint $constraint)
 
- Public Member Functions inherited from Repository
 injectPersistenceManager (\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager)
 
 __construct (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 add ($object)
 
 remove ($object)
 
 update ($modifiedObject)
 
 findAll ()
 
 countAll ()
 
 removeAll ()
 
 findByUid ($uid)
 
 findByIdentifier ($identifier)
 
 setDefaultOrderings (array $defaultOrderings)
 
 setDefaultQuerySettings (\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings)
 
 createQuery ()
 
 __call ($methodName, $arguments)
 

Protected Member Functions

 createQueryConstraints (\TYPO3\CMS\Extbase\Persistence\QueryInterface $query,\TYPO3\CMS\Belog\Domain\Model\Constraint $constraint)
 
 addUsersAndGroupsToQueryConstraints (\TYPO3\CMS\Belog\Domain\Model\Constraint $constraint,\TYPO3\CMS\Extbase\Persistence\QueryInterface $query, array &$queryConstraints)
 
 getBackendUsers ()
 
- Protected Member Functions inherited from Repository
 getRepositoryClassName ()
 

Protected Attributes

 $beUserList = []
 
- Protected Attributes inherited from Repository
 $persistenceManager
 
 $objectManager
 
 $objectType
 
 $defaultOrderings = []
 
 $defaultQuerySettings = null
 

Detailed Description

Sys log entry repository

Definition at line 20 of file LogEntryRepository.php.

Member Function Documentation

addUsersAndGroupsToQueryConstraints ( \TYPO3\CMS\Belog\Domain\Model\Constraint  $constraint,
\TYPO3\CMS\Extbase\Persistence\QueryInterface  $query,
array &  $queryConstraints 
)
protected

Adds users and groups to the query constraints.

Parameters
\TYPO3\CMS\Belog\Domain\Model\Constraint$constraint
\TYPO3\CMS\Extbase\Persistence\QueryInterface$query
array&$queryConstraintsthe query constraints to add to, will be modified
Returns
void

Definition at line 129 of file LogEntryRepository.php.

References $GLOBALS.

Referenced by LogEntryRepository\createQueryConstraints().

createQueryConstraints ( \TYPO3\CMS\Extbase\Persistence\QueryInterface  $query,
\TYPO3\CMS\Belog\Domain\Model\Constraint  $constraint 
)
protected

Create an array of query constraints from constraint object

Parameters
\TYPO3\CMS\Extbase\Persistence\QueryInterface$query
\TYPO3\CMS\Belog\Domain\Model\Constraint$constraint
Returns
array<>

Definition at line 68 of file LogEntryRepository.php.

References LogEntryRepository\addUsersAndGroupsToQueryConstraints(), and Workspace\UID_ANY_WORKSPACE.

Referenced by LogEntryRepository\findByConstraint().

findByConstraint ( \TYPO3\CMS\Belog\Domain\Model\Constraint  $constraint)

Finds all log entries that match all given constraints.

Parameters
\TYPO3\CMS\Belog\Domain\Model\Constraint$constraint
Returns
<>

Definition at line 49 of file LogEntryRepository.php.

References Repository\createQuery(), and LogEntryRepository\createQueryConstraints().

getBackendUsers ( )
protected

Get a list of all backend users that are not deleted

Returns
array

Definition at line 162 of file LogEntryRepository.php.

Member Data Documentation

$beUserList = []
protected

Definition at line 27 of file LogEntryRepository.php.