[TYPO3-core] RFC: Feature #5536: Some Hooks for tslib_content

Stefan Geith typo3dev2007 at geithware.de
Thu Oct 25 16:47:10 CEST 2007


This is an SVN patch request.

Type: New feature

Bugtracker references:
http://bugs.typo3.org/view.php?id=5536

Branches:
Trunk = 4.2

Problem:
Some hooks needed in tslib_content for
cObjGetSingle, stdWrap and getData

Solution:
a) Hook for cObjGetSingle
    There is a hook, but it is usable only if the
    Name of the content Object is fixed.
    If you e.g. want to log the usage of unexisting
    Object-Names, a hook in the default-part of the
    switch(object-name) is needed.
b) Hook for stdWrap
    To extend stdWrap, there should be several hooks
    at different locations within stdWrap that enable
    pre- and postprocessing.
c) Hook for getData (=getText)
    A single hook at the end of getData() helps to
    process additional commands


Notes:
I have this working in my 4.2-Testspace


-- 

Stefan Geith

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0005536_Hooks_for_Tslib_content.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071025/3a7bf0cb/attachment.txt 


More information about the TYPO3-team-core mailing list