- md5
- f86c61abec3ee513f710b642d8b62c6c
- sha1
- 70ebad7aa3d2207bdd9d5e8587d4eee728d1adff
- sha256
- 56f3fc7f8b08034f0538dabbccf6011a79f01f7e465dec0b316a719603eb2118
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
<?php
/**
* @package Joomla.Language
*
* @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
* @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace
*/
// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects
/**
* en-GB localise class.
*
* @since 1.6
*/
abstract class En_GBLocalise
{
/**
* Returns the potential suffixes for a specific number of items
*
* @param integer $count The number of items.
*
* @return array An array of potential suffixes.
*
* @since 1.6
*/
public static function getPluralSuffixes($count)
{
if ($count == 0) {
return array('0');
} elseif ($count == 1) {
return array('ONE', '1');
} else {
return array('OTHER', 'MORE');
}
}
/**
* Returns the ignored search words
*
* @return array An array of ignored search words.
*
* @since 1.6
*/
public static function getIgnoredSearchWords()
{
return array('and', 'in', 'on');
}
/**
* Returns the lower length limit of search words
*
* @return integer The lower length limit of search words.
*
* @since 1.6
*/
public static function getLowerLimitSearchWord()
{
return 3;
}
/**
* Returns the upper length limit of search words
*
* @return integer The upper length limit of search words.
*
* @since 1.6
*/
public static function getUpperLimitSearchWord()
{
return 20;
}
/**
* Returns the number of chars to display when searching
*
* @return integer The number of chars to display when searching.
*
* @since 1.6
*/
public static function getSearchDisplayedCharactersNumber()
{
return 200;
}
}
The same content is in 11 releases, Joomla 4.2.1 to 4.3.0-alpha2. See them all, or every version of this file.