[FEATURE] Additional params for HtmlParser attribute userFunc 35/30935/7
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Sun, 1 Feb 2015 12:34:41 +0000 (13:34 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 2 Mar 2015 19:41:53 +0000 (20:41 +0100)
commitabac3032c8878d6698beda7800bee0557c414d62
treeef0335945763a15a70b59fde2c7b3fc2b49c889d
parent03bd2256e3d35c556ac1bad50a4554eeb32f1098
[FEATURE] Additional params for HtmlParser attribute userFunc

Sub parameters passed to the HtmlParser tag configuration like:

fixAttrib.[attribute].userFunc.myparam = test1

will be passed to the configured user function in an array. The
attribute value will be stored in the attributeValue array key.

To keep backward compatibility the attribute value will be passed as
string to the user function when no additional attributes exist.

Releases: master
Resolves: #59712
Change-Id: Ib073dad0759fa2b20a82bf976f8d04f39d9135f0
Reviewed-on: http://review.typo3.org/30935
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Html/HtmlParser.php
typo3/sysext/core/Documentation/Changelog/master/Feature-59712-HtmlParserAdditionalUserFuncParams.rst [new file with mode: 0644]