[TYPO3-core] RFC: #4361 - hook request in class.db_list.inc
Michael Stucki
michael at typo3.org
Tue Nov 7 11:51:14 CET 2006
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
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_4361.diff
Type: text/x-diff
Size: 1541 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061107/69a2912e/attachment.bin
More information about the TYPO3-team-core
mailing list