CoreFiles by mySites.guru
fr.php58 lines, 1,071 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
8d6b7f1a378267987b081192da9bf060
sha1
b8ba42c130115404e2be0428f6fe8748731db511
sha256
64cdd82b596c77c31b9073a6350dd95aea1ff5d9f89f4001b9bbdee1d69d8a02
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_finder
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * French language support class for the Finder indexer package.
 *
 * @since  4.0.0
 */
class FinderIndexerLanguagefr extends FinderIndexerLanguage
{
	/**
	 * Language locale of the class
	 *
	 * @var    string
	 * @since  4.0.0
	 */
	public $language = 'fr';

	/**
	 * The french stemmer object.
	 *
	 * @var    \Wamania\Snowball\French
	 * @since  4.0.0
	 */
	protected $stemmer = null;

	/**
	 * Method to construct the language object.
	 *
	 * @since   4.0.0
	 */
	public function __construct()
	{
		$this->stemmer = new \Wamania\Snowball\French;
	}

	/**
	 * Method to stem a token.
	 *
	 * @param   string  $token  The token to stem.
	 *
	 * @return  string  The stemmed token.
	 *
	 * @since   4.0.0
	 */
	public function stem($token)
	{
		return $this->stemmer->stem($token);
	}
}

The same content is in 2 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha8. See them all, or every version of this file.