[TASK] Deprecate AbstractPlugin pi_list_searchBox 86/34286/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 17 Nov 2014 21:25:15 +0000 (22:25 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 18 Nov 2014 08:21:57 +0000 (09:21 +0100)
Old-old search content element could be used in frontend with
AbstractPlugin method pi_list_searchBox(). Rendered output is
hopelessly outdated, method is deprecated now.

Resolves: #62854
Releases: master
Change-Id: Ie3478333b0a8b16835c2074e70c2a9643acc388a
Reviewed-on: http://review.typo3.org/34286
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Felix Kopp <felix-source@phorax.com>
Tested-by: Felix Kopp <felix-source@phorax.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Documentation/Changelog/master/Deprecation-62854-Deprecate-pi_list_searchBox.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php

diff --git a/typo3/sysext/core/Documentation/Changelog/master/Deprecation-62854-Deprecate-pi_list_searchBox.rst b/typo3/sysext/core/Documentation/Changelog/master/Deprecation-62854-Deprecate-pi_list_searchBox.rst
new file mode 100644 (file)
index 0000000..96b161d
--- /dev/null
@@ -0,0 +1,21 @@
+=========================================================
+Deprecation: #62854 - Abstractplugin->pi_list_searchBox()
+=========================================================
+
+Description
+===========
+
+Method pi_list_searchBox of AbstractPlugin (aka pibase) was used with very old
+search solutions and is hopelessly outdated. It is now discouraged to be used
+and will be removed with next major version.
+
+
+Impact
+======
+
+Extensions still using pi_list_searchBox will throw a deprecation warning.
+
+Affected installations
+======================
+
+Any extension still using this method should be adapted.
\ No newline at end of file
index c6d175f..1f60a53 100644 (file)
@@ -653,8 +653,10 @@ class AbstractPlugin {
         *
         * @param string $tableParams Attributes for the table tag which is wrapped around the table cells containing the search box
         * @return string Output HTML, wrapped in <div>-tags with a class attribute
+        * @deprecated since CMS 7, will be removed with version 8
         */
        public function pi_list_searchBox($tableParams = '') {
+               GeneralUtility::logDeprecatedFunction();
                // Search box design:
                $sTables = '