[TYPO3-core] RFC: #4361 - hook request in class.db_list.inc
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Tue Nov 14 12:24:51 CET 2006
REMINDER
Michael Stucki schrieb:
> This is a SVN patch request.
>
> Problem:
> "With the release of typo3_src-4.0 we have enhanced the service-table in
> extension 'civserv' with ws_versioning.
>
> Therefore have introduced a hook in typo3/class.db_list.inc in the
> makeQueryArray subroutine. We would now like to ask for this hook to be
> added to the official TYPO3 distribution."
>
> Solution:
> -
>
> Branches: TYPO3_4-0 and Trunk
>
> Bugtracker reference:
> http://bugs.typo3.org/view.php?idC61
>
> Comments:
>
> Again I have modified the proposed hook change.
>
> - Rename the hook to "makeQueryArray_post" so it is clear where it is
> executed in the code.
> - Move hook position down which makes it possible to change the query as
> such (e.g. 'GROUPBY' ='' is hardcoded and could not be changed
> otherwise).
> - Send parameters directly, compile autogenerated values into an additional
> $_params array.
>
> Obviously there is no description about how hooks have to be written. I
> think that would make sense. Is anybody willing to write a proposal?
>
> - michael
More information about the TYPO3-team-core
mailing list