Template

addJsFooterInlineCode()

What does it do?

The method is using the class of the TYPO3 API of the same name.

Sample

$name = 'leafletFooterInline';
$block = $this->mapLLjssLeafletFooterInline;
$compress = 1;
Netzmacher\Refresh\Compatibility\Backend\Template\ModuleTemplate::addJsFooterInlineCode( $name, $block, $compress );

Refresh

You can refresh your extension by find and replace.

// Code from TYPO3 6.2 to 8.7
$GLOBALS[ 'TSFE' ]->getPageRenderer()->addJsFooterInlineCode( $name, $block, $compress );
// Code from TYPO3 6.2 to 9.x
ModuleTemplate::addJsFooterInlineCode( $name, $block, $compress );

Move “$GLOBALS[ ‘TSFE’ ]->getPageRenderer()->addJsFooterInlineCode” to “Netzmacher\Refresh\Compatibility\Backend\Template\ModuleTemplate::addJsFooterInlineCode”