wCMF 4.1
Guides
Getting started
Architecture
Model
Persistence
Presentation
Configuration
Security
I18n & l10n
Tests
Versions
4.1.x
4.0.x
API
Classes
Hierarchy
Code
Support
home
travis
build
iherwig
wcmf
src
wcmf
lib
search
impl
LuceneUtf8Analyzer.php
1
<?php
2
/**
3
* wCMF - wemove Content Management Framework
4
* Copyright (C) 2005-2020 wemove digital solutions GmbH
5
*
6
* Licensed under the terms of the MIT License.
7
*
8
* See the LICENSE file distributed with this work for
9
* additional information.
10
*/
11
namespace
wcmf\lib\search\impl
;
12
13
use ZendSearch\Lucene\Analysis\Analyzer\Common\Utf8Num\CaseInsensitive;
14
15
class
LuceneUtf8Analyzer
extends
CaseInsensitive {
16
/**
17
* Override method to make sure we are using utf-8
18
*/
19
public
function
setInput
($data, $encoding =
''
) {
20
parent::setInput($data,
'UTF-8'
);
21
}
22
}
23
?>
wcmf\lib\search\impl
 
Definition:
namespaces.php:80
wcmf\lib\search\impl\LuceneUtf8Analyzer\setInput
setInput($data, $encoding='')
Override method to make sure we are using utf-8.
Definition:
LuceneUtf8Analyzer.php:19
wcmf\lib\search\impl\LuceneUtf8Analyzer
Definition:
LuceneUtf8Analyzer.php:15