Skip to content

Commit ceabdd6

Browse files
authored
Deprecating com_search methods in Joomla\CMS\Language\Language (#40727)
1 parent dec983f commit ceabdd6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

libraries/src/Language/Language.php

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ class Language
148148
*
149149
* @var callable
150150
* @since 1.7.0
151+
*
152+
* @deprecated 4.4 will be removed in 6.0 without replacement
151153
*/
152154
protected $ignoredSearchWordsCallback = null;
153155

@@ -156,6 +158,8 @@ class Language
156158
*
157159
* @var callable
158160
* @since 1.7.0
161+
*
162+
* @deprecated 4.4 will be removed in 6.0 without replacement
159163
*/
160164
protected $lowerLimitSearchWordCallback = null;
161165

@@ -164,6 +168,8 @@ class Language
164168
*
165169
* @var callable
166170
* @since 1.7.0
171+
*
172+
* @deprecated 4.4 will be removed in 6.0 without replacement
167173
*/
168174
protected $upperLimitSearchWordCallback = null;
169175

@@ -172,6 +178,8 @@ class Language
172178
*
173179
* @var callable
174180
* @since 1.7.0
181+
*
182+
* @deprecated 4.4 will be removed in 6.0 without replacement
175183
*/
176184
protected $searchDisplayedCharactersNumberCallback = null;
177185

@@ -484,6 +492,8 @@ public function setPluralSuffixesCallback(callable $function)
484492
* @return array The array of ignored search words.
485493
*
486494
* @since 1.7.0
495+
*
496+
* @deprecated 4.4 will be removed in 6.0 without replacement
487497
*/
488498
public function getIgnoredSearchWords()
489499
{
@@ -500,6 +510,8 @@ public function getIgnoredSearchWords()
500510
* @return callable Function name or the actual function.
501511
*
502512
* @since 1.7.0
513+
*
514+
* @deprecated 4.4 will be removed in 6.0 without replacement
503515
*/
504516
public function getIgnoredSearchWordsCallback()
505517
{
@@ -514,6 +526,8 @@ public function getIgnoredSearchWordsCallback()
514526
* @return callable The previous function.
515527
*
516528
* @since 1.7.0
529+
*
530+
* @deprecated 4.4 will be removed in 6.0 without replacement
517531
*/
518532
public function setIgnoredSearchWordsCallback(callable $function)
519533
{
@@ -529,6 +543,8 @@ public function setIgnoredSearchWordsCallback(callable $function)
529543
* @return integer The lower limit integer for length of search words (3 if no value was set for a specific language).
530544
*
531545
* @since 1.7.0
546+
*
547+
* @deprecated 4.4 will be removed in 6.0 without replacement
532548
*/
533549
public function getLowerLimitSearchWord()
534550
{
@@ -545,6 +561,8 @@ public function getLowerLimitSearchWord()
545561
* @return callable Function name or the actual function.
546562
*
547563
* @since 1.7.0
564+
*
565+
* @deprecated 4.4 will be removed in 6.0 without replacement
548566
*/
549567
public function getLowerLimitSearchWordCallback()
550568
{
@@ -559,6 +577,8 @@ public function getLowerLimitSearchWordCallback()
559577
* @return callable The previous function.
560578
*
561579
* @since 1.7.0
580+
*
581+
* @deprecated 4.4 will be removed in 6.0 without replacement
562582
*/
563583
public function setLowerLimitSearchWordCallback(callable $function)
564584
{
@@ -574,6 +594,8 @@ public function setLowerLimitSearchWordCallback(callable $function)
574594
* @return integer The upper limit integer for length of search words (200 if no value was set or if default value is < 200).
575595
*
576596
* @since 1.7.0
597+
*
598+
* @deprecated 4.4 will be removed in 6.0 without replacement
577599
*/
578600
public function getUpperLimitSearchWord()
579601
{
@@ -590,6 +612,8 @@ public function getUpperLimitSearchWord()
590612
* @return callable Function name or the actual function.
591613
*
592614
* @since 1.7.0
615+
*
616+
* @deprecated 4.4 will be removed in 6.0 without replacement
593617
*/
594618
public function getUpperLimitSearchWordCallback()
595619
{
@@ -604,6 +628,8 @@ public function getUpperLimitSearchWordCallback()
604628
* @return callable The previous function.
605629
*
606630
* @since 1.7.0
631+
*
632+
* @deprecated 4.4 will be removed in 6.0 without replacement
607633
*/
608634
public function setUpperLimitSearchWordCallback(callable $function)
609635
{
@@ -619,6 +645,8 @@ public function setUpperLimitSearchWordCallback(callable $function)
619645
* @return integer The number of characters displayed (200 if no value was set for a specific language).
620646
*
621647
* @since 1.7.0
648+
*
649+
* @deprecated 4.4 will be removed in 6.0 without replacement
622650
*/
623651
public function getSearchDisplayedCharactersNumber()
624652
{
@@ -635,6 +663,8 @@ public function getSearchDisplayedCharactersNumber()
635663
* @return callable Function name or the actual function.
636664
*
637665
* @since 1.7.0
666+
*
667+
* @deprecated 4.4 will be removed in 6.0 without replacement
638668
*/
639669
public function getSearchDisplayedCharactersNumberCallback()
640670
{
@@ -649,6 +679,8 @@ public function getSearchDisplayedCharactersNumberCallback()
649679
* @return callable The previous function.
650680
*
651681
* @since 1.7.0
682+
*
683+
* @deprecated 4.4 will be removed in 6.0 without replacement
652684
*/
653685
public function setSearchDisplayedCharactersNumberCallback(callable $function)
654686
{

0 commit comments

Comments
 (0)