diff --git a/Classes/ViewHelpers/ExtendedIfViewHelper.php b/Classes/ViewHelpers/ExtendedIfViewHelper.php index 6fad1ac503bce26a05b2d7b1d429bd124cf678bf..e1e50c2134105e8fc24051dd5574edbcf4ab50f5 100644 --- a/Classes/ViewHelpers/ExtendedIfViewHelper.php +++ b/Classes/ViewHelpers/ExtendedIfViewHelper.php @@ -32,6 +32,22 @@ use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper; * ExtendedIfViewHelper */ class ExtendedIfViewHelper extends AbstractConditionViewHelper { + /** + * @return void + */ + public function initializeArguments() { + $this->registerArgument('condition', 'boolean', 'Condition to be evaluated.'); + $this->registerArgument('or', 'boolean', 'First or condition'); + $this->registerArgument('or2', 'boolean', 'Second or condition'); + $this->registerArgument('or3', 'boolean', 'Third or condition'); + $this->registerArgument('or4', 'boolean', 'Fourth or condition'); + $this->registerArgument('and', 'boolean', 'First and condition'); + $this->registerArgument('and2', 'boolean', 'Second and condition'); + $this->registerArgument('and3', 'boolean', 'Third and condition'); + $this->registerArgument('and4', 'boolean', 'Fourth and condition'); + $this->registerArgument('negate', 'boolean', 'Negate complete condition'); + } + /** * renders <f:then> child if $condition or $or is true, otherwise renders <f:else> child. *