Source for file en-GB.localise.php

Documentation is available at en-GB.localise.php

  1. <?php
  2. /**
  3.  * @package    Joomla.Language
  4.  *
  5.  * @copyright  Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  6.  * @license    GNU General Public License version 2 or later; see LICENSE.txt
  7.  */
  8.  
  9. defined('_JEXEC'or die;
  10.  
  11. /**
  12.  * en-GB localise class
  13.  *
  14.  * @package  Joomla.Language
  15.  * @since    1.6
  16.  */
  17. abstract class En_GBLocalise
  18. {
  19.     /**
  20.      * Returns the potential suffixes for a specific number of items
  21.      *
  22.      * @param   integer  $count  The number of items.
  23.      *
  24.      * @return  array  An array of potential suffixes.
  25.      *
  26.      * @since   1.6
  27.      */
  28.     public static function getPluralSuffixes($count)
  29.     {
  30.         if ($count == 0)
  31.         {
  32.             return array('0');
  33.         }
  34.         elseif ($count == 1)
  35.         {
  36.             return array('1');
  37.         }
  38.         else
  39.         {
  40.             return array('MORE');
  41.         }
  42.     }
  43.  
  44.     /**
  45.      * Returns the ignored search words
  46.      *
  47.      * @return  array  An array of ignored search words.
  48.      *
  49.      * @since   1.6
  50.      */
  51.     public static function getIgnoredSearchWords()
  52.     {
  53.         return array('and''in''on');
  54.     }
  55.  
  56.     /**
  57.      * Returns the lower length limit of search words
  58.      *
  59.      * @return  integer  The lower length limit of search words.
  60.      *
  61.      * @since   1.6
  62.      */
  63.     public static function getLowerLimitSearchWord()
  64.     {
  65.         return 3;
  66.     }
  67.  
  68.     /**
  69.      * Returns the upper length limit of search words
  70.      *
  71.      * @return  integer  The upper length limit of search words.
  72.      *
  73.      * @since   1.6
  74.      */
  75.     public static function getUpperLimitSearchWord()
  76.     {
  77.         return 20;
  78.     }
  79.  
  80.     /**
  81.      * Returns the number of chars to display when searching
  82.      *
  83.      * @return  integer  The number of chars to display when searching.
  84.      *
  85.      * @since   1.6
  86.      */
  87.     public static function getSearchDisplayedCharactersNumber()
  88.     {
  89.         return 200;
  90.     }
  91. }

Documentation generated on Tue, 19 Nov 2013 15:02:29 +0100 by phpDocumentor 1.4.3