HTMLparser_tags¶
Properties¶
fixAttrib.[attribute].prefixRelPathWith¶
- Example
- EXT:site_package/Configuration/TypoScript/setup.typoscript¶
lib.parser.fixAttrib.src.prefixRelPathWith = https://example.org/typo3/32/dummy/
fixAttrib.[attribute].userFunc¶
- Example
- EXT:site_package/Configuration/TypoScript/setup.typoscript¶
lib.parser.fixAttrib.href.userFunc = \Vendor\ExtName\ClassName->function
Two parameters are passed to the function:
The tag value as a string or an array containing the tag value and additional configuration (see below).
The reference the to HtmlParser instance that calls the method.
By default the first parameter is the value of the processed tag. This changes when you pass additional configuration options to the user function:
EXT:site_package/Configuration/TypoScript/setup.typoscript¶lib.parser.fixAttrib.href.userFunc.myCustomParm = myCustomValue
In that case the first parameter passed to the user function will be an array containing these values: