[+TASK] Extbase (Reflection): Added deprecation annotation to ObjectAccess::getAccess...
authorBastian Waidelich <bastian@typo3.org>
Thu, 2 Dec 2010 19:00:00 +0000 (19:00 +0000)
committerBastian Waidelich <bastian@typo3.org>
Thu, 2 Dec 2010 19:00:00 +0000 (19:00 +0000)
To stay in sync with FLOW3, the methods getAccessibleProperties() and getAccessiblePropertyNames() to
getGettableProperties() and getGettablePropertyNames().
For compatibility reasons the old methods will stay in Extbase until version 1.5.
Note: you can now check wheter properties are settable as well

Relates to: #8534

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

index ed301bf..15f7130 100644 (file)
@@ -146,9 +146,10 @@ class Tx_Extbase_Reflection_ObjectAccess {
         *
         * @param object $object Object to receive property names for
         * @return array Array of all declared property names
-        * @todo What to do with ArrayAccess
+        * @deprecated since Extbase 1.3.0; will be removed in Extbase 1.5.0. Please use getGettablePropertyNames() instead
         */
        static public function getAccessiblePropertyNames($object) {
+               t3lib_div::logDeprecatedFunction();
                return self::getGettablePropertyNames($object);
        }