![]() |
TYPO3
7.6
|
Public Member Functions | |
metaphone ($string, $sys_language_uid=0) | |
DoubleMetaPhone ($string) | |
StringAt ($string, $start, $length, $list) | |
IsVowel ($string, $pos) | |
SlavoGermanic ($string) | |
Public Attributes | |
$original = '' | |
$primary = '' | |
$secondary = '' | |
$length = 0 | |
$last = 0 | |
$current = 0 | |
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)
Definition at line 22 of file DoubleMetaPhoneUtility.php.
DoubleMetaPhone | ( | $string | ) |
Double metaphone
string | $string |
Definition at line 77 of file DoubleMetaPhoneUtility.php.
References DoubleMetaPhoneUtility\$primary, DoubleMetaPhoneUtility\$secondary, elseif, DoubleMetaPhoneUtility\IsVowel(), DoubleMetaPhoneUtility\SlavoGermanic(), and DoubleMetaPhoneUtility\StringAt().
Referenced by DoubleMetaPhoneUtility\metaphone().
IsVowel | ( | $string, | |
$pos | |||
) |
Is vowel?
string | $string | |
int | $pos |
Definition at line 811 of file DoubleMetaPhoneUtility.php.
Referenced by DoubleMetaPhoneUtility\DoubleMetaPhone().
metaphone | ( | $string, | |
$sys_language_uid = 0 |
|||
) |
Metaphone
string | $string | |
int | $sys_language_uid |
Definition at line 63 of file DoubleMetaPhoneUtility.php.
References DoubleMetaPhoneUtility\DoubleMetaPhone().
SlavoGermanic | ( | $string | ) |
Is slavogermanic?
string | $string |
Definition at line 822 of file DoubleMetaPhoneUtility.php.
Referenced by DoubleMetaPhoneUtility\DoubleMetaPhone().
StringAt | ( | $string, | |
$start, | |||
$length, | |||
$list | |||
) |
String at
string | $string | |
int | $start | |
int | $length | |
array | $list |
Definition at line 790 of file DoubleMetaPhoneUtility.php.
References DoubleMetaPhoneUtility\$length, and $list.
Referenced by DoubleMetaPhoneUtility\DoubleMetaPhone().
$current = 0 |
Definition at line 52 of file DoubleMetaPhoneUtility.php.
$last = 0 |
Definition at line 47 of file DoubleMetaPhoneUtility.php.
$length = 0 |
Definition at line 42 of file DoubleMetaPhoneUtility.php.
Referenced by DoubleMetaPhoneUtility\StringAt().
$original = '' |
Definition at line 27 of file DoubleMetaPhoneUtility.php.
$primary = '' |
Definition at line 32 of file DoubleMetaPhoneUtility.php.
Referenced by DoubleMetaPhoneUtility\DoubleMetaPhone().
$secondary = '' |
Definition at line 37 of file DoubleMetaPhoneUtility.php.
Referenced by DoubleMetaPhoneUtility\DoubleMetaPhone().