DoubleMetaPhoneUtility

TYPO3: Had to change name to "\TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility" from just "DoubleMetaPhone" because TYPO3 requires a user class to be prefixed so: TYPO3: If you want to use this metaphone method instead of the default in the indexer you can enable it in the extension configuration TYPO3: Of course you can write your own metaphone hook methods by taking this class and configuration as example (also see ext_localconf.php)

Internal

Table of Contents

Properties

$current  : int
$last  : int
$length  : int
$original  : string
$pObj  : Indexer
$primary  : string
$secondary  : string

Methods

DoubleMetaPhone()  : array<string|int, mixed>
Double metaphone
IsVowel()  : bool|int
Is vowel?
metaphone()  : string
Metaphone
SlavoGermanic()  : bool|int
Is slavogermanic?
StringAt()  : bool
String at

Properties

Methods

DoubleMetaPhone()

Double metaphone

public DoubleMetaPhone(string $string) : array<string|int, mixed>
Parameters
$string : string
Return values
array<string|int, mixed>

IsVowel()

Is vowel?

public IsVowel(string $string, int $pos) : bool|int
Parameters
$string : string
$pos : int
Return values
bool|int

metaphone()

Metaphone

public metaphone(string $string[, int $sys_language_uid = 0 ]) : string
Parameters
$string : string
$sys_language_uid : int = 0
Return values
string

SlavoGermanic()

Is slavogermanic?

public SlavoGermanic(string $string) : bool|int
Parameters
$string : string
Return values
bool|int

StringAt()

String at

public StringAt(string $string, int $start, int $length, array<string|int, mixed> $list) : bool
Parameters
$string : string
$start : int
$length : int
$list : array<string|int, mixed>
Return values
bool

        
On this page

Search results