[FEATURE] Capitalizing with stdWrap (TypoScript)
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / class.tslib_content.php
index 56bb8af..9c9fdae 100644 (file)
@@ -6412,6 +6412,9 @@ class tslib_cObj {
                        case 'lower' :
                                $theValue = $GLOBALS['TSFE']->csConvObj->conv_case($GLOBALS['TSFE']->renderCharset, $theValue, 'toLower');
                        break;
+                       case 'capitalize':
+                               $theValue = ucwords($theValue);
+                       break;
                }
                return $theValue;
        }