CoreFiles by mySites.guru
Ro.php62 lines, 1,173 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
4c94dde29107c43ac07290579cc766da
sha1
4a0285769dffc52ddc5222a6c185a64357aa73f9
sha256
4a7b7f1bc875d76410af42f06e5dcee183e33743734483dce3d692e95d58272d
<?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
 */

namespace Joomla\Component\Finder\Administrator\Indexer\Language;

defined('_JEXEC') or die;

use Joomla\Component\Finder\Administrator\Indexer\Language;

/**
 * Romanian language support class for the Finder indexer package.
 *
 * @since  4.0.0
 */
class Ro extends Language
{
	/**
	 * Language locale of the class
	 *
	 * @var    string
	 * @since  4.0.0
	 */
	public $language = 'ro';

	/**
	 * The romanian stemmer object.
	 *
	 * @var    \Wamania\Snowball\Romanian
	 * @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\Romanian;
	}

	/**
	 * 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 4 releases, Joomla 4.0.0-alpha9 to 4.0.0-alpha12. See them all, or every version of this file.