[!!!][FEATURE] Implement pre- and post-hook around SELECT queries 11/18411/4
authorSoren Malling <soren.malling@gmail.com>
Thu, 21 Feb 2013 10:22:58 +0000 (11:22 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Tue, 2 Apr 2013 06:17:52 +0000 (08:17 +0200)
commit565786a0f55bd8e44605e144c8c56fb968464de6
tree9e9d162c9d7034170c23fde937d29fdeade5b2a1
parentf17717eb95f58c4974150c820b1e53e7340f46e4
[!!!][FEATURE] Implement pre- and post-hook around SELECT queries

To use in example content/record security,
a hook is implemented before and after the SELECT call.

The interface introduces a new function that needs to be
implemented to avoid breaking functionality!

The SELECT call is the only database call without such hook

Resolves: #45699
Releases: 6.1
Change-Id: I915bd2422e3d6743a408ea53af7e6491cfe2657a
Reviewed-on: https://review.typo3.org/18411
Reviewed-by: Dmitry Dulepov
Reviewed-by: Mattias Nilsson
Tested-by: Dmitry Dulepov
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/core/Classes/Database/PostProcessQueryHookInterface.php
typo3/sysext/core/Classes/Database/PreProcessQueryHookInterface.php