[TASK] ViewHelper examples: streamline case of boolean attribute values 51/51651/3
authorJosef Glatz <josefglatz@gmail.com>
Mon, 13 Feb 2017 06:35:58 +0000 (07:35 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 13 Feb 2017 08:01:18 +0000 (09:01 +0100)
Streamline all boolean attribute values to lowercase within
ViewHelper inline documentation examples (like the majority is).

Resolves: #79773
Releases: master
Change-Id: Ic2e11120c7124cb5b1e7c1c9c795454a9335376c
Reviewed-on: https://review.typo3.org/51651
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/fluid/Classes/ViewHelpers/Be/InfoboxViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/DebugViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/CurrencyViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Link/TypolinkViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/TypolinkViewHelper.php

index 189924d..29ad1d2 100644 (file)
@@ -43,7 +43,7 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithContentArgumentAndRenderS
  * </code>
  *
  * <code title="All options">
- * <f:be.infobox title="Message title" message="your box content" state="-2" iconName="check" disableIcon="TRUE" />
+ * <f:be.infobox title="Message title" message="your box content" state="-2" iconName="check" disableIcon="true" />
  * </code>
  */
 class InfoboxViewHelper extends AbstractViewHelper
index 44379c1..4889151 100644 (file)
@@ -32,7 +32,7 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
  * </output>
  *
  * <code title="All Features">
- * <f:debug title="My Title" maxDepth="5" blacklistedClassNames="{0:'Tx_BlogExample_Domain_Model_Administrator'}" plainText="TRUE" ansiColors="FALSE" inline="TRUE" blacklistedPropertyNames="{0:'posts'}">{blogs}</f:debug>
+ * <f:debug title="My Title" maxDepth="5" blacklistedClassNames="{0:'Tx_BlogExample_Domain_Model_Administrator'}" plainText="true" ansiColors="false" inline="true" blacklistedPropertyNames="{0:'posts'}">{blogs}</f:debug>
  * </code>
  * <output>
  * [A HTML view of the var_dump]
index f54cc57..fd18c5c 100644 (file)
@@ -31,7 +31,7 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
  * </output>
  *
  * <code title="All parameters">
- * <f:format.currency currencySign="$" decimalSeparator="." thousandsSeparator="," prependCurrency="TRUE" separateCurrency="FALSE" decimals="2">54321</f:format.currency>
+ * <f:format.currency currencySign="$" decimalSeparator="." thousandsSeparator="," prependCurrency="true" separateCurrency="false" decimals="2">54321</f:format.currency>
  * </code>
  * <output>
  * $54,321.00
index 96f4600..6ef31fb 100644 (file)
@@ -40,7 +40,7 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
  * </code>
  *
  * <code title="Full parameter usage">
- * <f:link.typolink parameter="{link}" target="_blank" class="ico-class" title="some title" additionalParams="&u=b" additionalAttributes="{type:'button'}" useCacheHash="TRUE">
+ * <f:link.typolink parameter="{link}" target="_blank" class="ico-class" title="some title" additionalParams="&u=b" additionalAttributes="{type:'button'}" useCacheHash="true">
  * Linktext
  * </f:link.typolink>
  * </code>
index 95a19c2..5cb6947 100644 (file)
@@ -38,7 +38,7 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
  * </code>
  *
  * <code title="Full parameter usage">
- * <f:uri.typolink parameter="{link}" additionalParams="&u=b" useCacheHash="TRUE" />
+ * <f:uri.typolink parameter="{link}" additionalParams="&u=b" useCacheHash="true" />
  * </code>
  * <output>
  * index.php?id=19&X=y&u=b