Fixed bug #16507: stdWrap unavailable after refactoring of tslib_content
authorIngo Renner <ingo.renner@typo3.org>
Mon, 22 Nov 2010 15:47:14 +0000 (15:47 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Mon, 22 Nov 2010 15:47:14 +0000 (15:47 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9500 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/content/class.tslib_content_abstract.php

index 30ee73e..ea0732c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
+2010-11-22  Ingo Renner  <ingo@typo3.org>
+
+       * Fixed bug #16507: stdWrap unavailable after refactoring of tslib_content
+
 2010-11-22  Steffen Ritter  <typo3@steffen-ritter.net>
 
-       * FYI fixed bug #16513: Class hint "mixed" always results to fatal error in t3lib_tree_Tca_DatabaseNode
+       * Fixed bug #16513: Class hint "mixed" always results to fatal error in t3lib_tree_Tca_DatabaseNode
 
 2010-11-20  Jigal van Hemert  <jigal@xs4all.nl>
 
index 046be94..4659f4a 100644 (file)
@@ -57,6 +57,19 @@ abstract class tslib_content_Abstract {
         */
        public abstract function render($conf = array());
 
+       /**
+        * Compatibility stdWrap wrapper.
+        *
+        * @param       string          $content The content to manipulate using stdWrap functions.
+        * @param       array           $conf stdWrap configuration.
+        * @deprecated since TYPO3 4.5, this function will be removed in TYPO3 4.7, use $this->cObj->stdWrap() instead.
+        */
+       public function stdWrap($content = '', $conf = array()) {
+               t3lib_div::logDeprecatedFunction();
+
+               return $this->cObj->stdWrap($content, $conf);
+       }
+
 }
 
 ?>
\ No newline at end of file