[TYPO3-mvc] Harmonization and Streamlining of CMS Fluid and FLOW Fluid

Claus Due claus at phpmind.net
Tue Mar 24 17:40:18 CET 2015


Here's the solution that will let ANY framework inject ANY number
of namespaces and custom ViewHelper classes, override ANY
arguments of ANY ViewHelper, return ANY class name as substitute
for ANY ViewHelper and even to override the actual instantiation of
the ViewHelper class.

$view->setViewHelperResolver(ViewHelperResolver $resolver);

Enables all of the above. Overriding ViewHelperResolver with a
subclass allows a framework to basically replace every behavior
associated with the loading and preparing of ViewHelper instances.

https://github.com/NamelessCoder/TYPO3.Fluid/blob/master/src/Core/ViewHelper/ViewHelperResolver.php

Humble brag: this is the missing link you've all been looking for ;)


More information about the TYPO3-project-typo3v4mvc mailing list