[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Language 5 * 6 * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> 7 * @license GNU General Public License version 2 or later; see LICENSE.txt 8 9 * @phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps 10 11 * @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace 12 */ 13 14 // phpcs:disable PSR1.Files.SideEffects 15 \defined('_JEXEC') or die; 16 // phpcs:enable PSR1.Files.SideEffects 17 18 /** 19 * en-GB localise class. 20 * 21 * @since 1.6 22 */ 23 abstract class En_GBLocalise 24 { 25 /** 26 * Returns the potential suffixes for a specific number of items 27 * 28 * @param integer $count The number of items. 29 * 30 * @return array An array of potential suffixes. 31 * 32 * @since 1.6 33 */ 34 public static function getPluralSuffixes($count) 35 { 36 if ($count == 0) { 37 return array('0'); 38 } elseif ($count == 1) { 39 return array('ONE', '1'); 40 } else { 41 return array('OTHER', 'MORE'); 42 } 43 } 44 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |