repo.or.cz
/
koha.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 9718 - Add POD and comments for Check_Userid and Generate_Userid subs
[koha.git]
/
Koha
/
SearchEngine.pm
blob
407156f229eb6807ca50433e3fa0c5c37319ebe1
1
package
Koha
::
SearchEngine
;
2
3
use
Moose
;
4
use
C4
::
Context
;
5
use
Koha
::
SearchEngine
::
Config
;
6
7
has
'name'
=> (
8
is
=>
'ro'
,
9
default
=>
sub
{
10
C4
::
Context
->
preference
(
'SearchEngine'
);
11
}
12
);
13
14
has config
=> (
15
is
=>
'rw'
,
16
lazy
=>
1
,
17
default
=>
sub
{
18
Koha
::
SearchEngine
::
Config
->
new
;
19
}
20
# lazy => 1,
21
# builder => '_build_config',
22
);
23
24
#sub _build_config {
25
# my ( $self ) = @_;
26
# Koha::SearchEngine::Config->new( $self->name );
27
#);
28
29
1
;