[TYPO3-mvc] fluid: adding own variables [discussion]
Christian Zenker
christian.zenker at 599media.de
Fri Jul 17 12:24:31 CEST 2009
Am 17.07.2009, 11:33 Uhr, schrieb Bastian Waidelich <bastian at typo3.org>:
> [...]
> $currentIndex ++;
> $this->viewHelperVariableContainer->remove('F3\Fluid\ViewHelpers\CycleViewHelper',
> $name);
> $this->viewHelperVariableContainer->add('F3\Fluid\ViewHelpers\CycleViewHelper',
> $name, $currentIndex);
>
> return $output;
> }
But this harms the rule, that every ViewHelper has to remove its own added
variables.
More information about the TYPO3-project-typo3v4mvc
mailing list