[TYPO3-core] FYI24: Re: RFC: #4361 - hook request in class.db_list.inc

Michael Stucki michael at typo3.org
Tue Apr 21 00:31:15 CEST 2009


Next reminder. This patch is also quite old and got 2 +1 already. I will 
commit it tomorrow if nobody objects...

- michael

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
> 


-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_4361_v2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090421/6f1b6af6/attachment.txt 


More information about the TYPO3-team-core mailing list