Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe LanguageStemmer
+ Graphe d'héritage de LanguageStemmer:

Fonctions membres publiques

 stem ($token, $lang)
 

Fonctions membres publiques statiques

static getInstance ($adapter)
 

Attributs protégés

 $cache = array()
 

Attributs protégés statiques

static $instances = array()
 

Description détaillée

Stemmer base class.

Depuis
3.0.0
Obsolète:
4.0 Use wamania/php-stemmer

Documentation des fonctions membres

◆ getInstance()

static getInstance (   $adapter)
static

Method to get a stemmer, creating it if necessary.

Paramètres
string$adapterThe type of stemmer to load.
Renvoie
LanguageStemmer A LanguageStemmer instance.
Depuis
3.0.0
Exceptions

Références $class.

◆ stem()

stem (   $token,
  $lang 
)
abstract

Method to stem a token and return the root.

Paramètres
string$tokenThe token to stem.
string$langThe language of the token.
Renvoie
string The root token.
Depuis
3.0.0

Documentation des champs

◆ $cache

$cache = array()
protected

◆ $instances

$instances = array()
staticprotected

La documentation de cette classe a été générée à partir du fichier suivant :