Feature #78635 » itemprop.diff
../../../typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractTagBasedViewHelper_diff.php 2016-11-10 12:19:43.000000000 +0100 | ||
---|---|---|
{
|
||
$this->registerArgument('additionalAttributes', 'array', 'Additional tag attributes. They will be added directly to the resulting HTML tag.', false);
|
||
$this->registerArgument('data', 'array', 'Additional data-* attributes. They will each be added with a "data-" prefix.', false);
|
||
$this->registerArgument('itemprop', 'string', 'Additional itemprop attribute', false);
|
||
}
|
||
/**
|
||
... | ... | |
}
|
||
}
|
||
if ($this->hasArgument('itemprop') && is_string($this->arguments['itemprop'])) {
|
||
$this->tag->addAttribute('itemprop', $this->arguments['itemprop']);
|
||
}
|
||
if (isset(self::$tagAttributes[get_class($this)])) {
|
||
foreach (self::$tagAttributes[get_class($this)] as $attributeName) {
|
||
if ($this->hasArgument($attributeName) && $this->arguments[$attributeName] !== '') {
|