Commit d4d13625 authored by Andy Hausmann's avatar Andy Hausmann

Fixed a small bug regarding DynLinkViewHelper.

Multiple dynamic links per page failed to render. Thanks to Simon Rauterberg for reporting this one.
parent b782606f
...@@ -43,7 +43,7 @@ class Tx_Flexslider_ViewHelpers_DynLinkViewHelper extends Tx_Fluid_Core_ViewHelp ...@@ -43,7 +43,7 @@ class Tx_Flexslider_ViewHelpers_DynLinkViewHelper extends Tx_Fluid_Core_ViewHelp
/** /**
* @var array * @var array
*/ */
protected $paramLabels = array(); protected $paramLabels = array('href', 'target', 'class', 'title');
/** /**
...@@ -56,7 +56,6 @@ class Tx_Flexslider_ViewHelpers_DynLinkViewHelper extends Tx_Fluid_Core_ViewHelp ...@@ -56,7 +56,6 @@ class Tx_Flexslider_ViewHelpers_DynLinkViewHelper extends Tx_Fluid_Core_ViewHelp
$this->registerUniversalTagAttributes(); $this->registerUniversalTagAttributes();
$this->registerArgument('arguments', 'array', 'Given arguments by Fluid call as an array.'); $this->registerArgument('arguments', 'array', 'Given arguments by Fluid call as an array.');
$this->registerArgument('href', 'string', 'Link href.'); $this->registerArgument('href', 'string', 'Link href.');
$this->paramLabels = array('href', 'target', 'class', 'title');
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment