Extbase:
authorBastian Waidelich <bastian@typo3.org>
Wed, 6 May 2009 18:23:30 +0000 (18:23 +0000)
committerBastian Waidelich <bastian@typo3.org>
Wed, 6 May 2009 18:23:30 +0000 (18:23 +0000)
* replaced lcfirst() calls by lib_div::lcfirst() as this is only available for PHP5.3+

typo3/sysext/extbase/Classes/Configuration/Container.php
typo3/sysext/extbase/Classes/Reflection/ObjectAccess.php

index b8daed2..243654c 100644 (file)
@@ -317,7 +317,7 @@ class Tx_Extbase_Configuration_Container implements Countable, Iterator, ArrayAc
                if (count($arguments) != 1) {
                        throw new Tx_Extbase_Configuration_Exception('You have to pass exactly one argument to a configuration option setter.', 1213444809);
                }
-               $optionName = lcfirst(substr($methodName, 3));
+               $optionName = t3lib_div::lcfirst(substr($methodName, 3));
                $this->__set($optionName, $arguments[0]);
 
                return $this;
index fe61fe6..a1256a0 100644 (file)
@@ -115,7 +115,7 @@ class Tx_Extbase_Reflection_ObjectAccess {
 
                foreach (get_class_methods($object) as $methodName) {
                        if (substr($methodName, 0, 3) === 'get') {
-                               $declaredPropertyNames[] = lcfirst(substr($methodName, 3));
+                               $declaredPropertyNames[] = t3lib_div::lcfirst(substr($methodName, 3));
                        }
                }