TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility Class Reference
Inheritance diagram for TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility:
user_DoubleMetaPhone

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
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! 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.

Member Function Documentation

◆ DoubleMetaPhone()

◆ IsVowel()

TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility::IsVowel (   $string,
  $pos 
)

[Describe function...]

Parameters
[type]$string: ...
[type]$pos: ...
Returns
[type] ...
Todo:
Define visibility

Definition at line 798 of file DoubleMetaPhoneUtility.php.

Referenced by TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility\DoubleMetaPhone().

◆ metaphone()

TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility::metaphone (   $string,
  $sys_language_uid = 0 
)

◆ SlavoGermanic()

TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility::SlavoGermanic (   $string)

[Describe function...]

Parameters
[type]$string: ...
Returns
[type] ...
Todo:
Define visibility

Definition at line 809 of file DoubleMetaPhoneUtility.php.

Referenced by TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility\DoubleMetaPhone().

◆ StringAt()

TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility::StringAt (   $string,
  $start,
  $length,
  $list 
)

Member Data Documentation

◆ $current

TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility::$current = 0
Todo:
Define visibility

Definition at line 53 of file DoubleMetaPhoneUtility.php.

◆ $last

TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility::$last = 0
Todo:
Define visibility

Definition at line 48 of file DoubleMetaPhoneUtility.php.

◆ $length

TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility::$length = 0

◆ $original

TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility::$original = ''
Todo:
Define visibility

Definition at line 28 of file DoubleMetaPhoneUtility.php.

◆ $primary

TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility::$primary = ''

◆ $secondary

TYPO3\CMS\IndexedSearch\Utility\DoubleMetaPhoneUtility::$secondary = ''