MediaWiki REL1_40
|
Factory class for SearchEngine. More...
Public Member Functions | |
__construct (SearchEngineConfig $config, HookContainer $hookContainer, ILoadBalancer $loadBalancer) | |
create ( $type=null) | |
Create SearchEngine of the given type. | |
Static Public Member Functions | |
static | getSearchEngineClass ( $dbOrLb) |
Factory class for SearchEngine.
Allows to create engine of the specific type.
Definition at line 12 of file SearchEngineFactory.php.
SearchEngineFactory::__construct | ( | SearchEngineConfig | $config, |
HookContainer | $hookContainer, | ||
ILoadBalancer | $loadBalancer ) |
SearchEngineConfig | $config | |
HookContainer | $hookContainer | |
ILoadBalancer | $loadBalancer |
Definition at line 30 of file SearchEngineFactory.php.
SearchEngineFactory::create | ( | $type = null | ) |
Create SearchEngine of the given type.
string | null | $type |
Definition at line 46 of file SearchEngineFactory.php.
References $type.
Referenced by SpecialPage\prefixSearchString().
|
static |
IDatabase | ILoadBalancer | $dbOrLb |
Definition at line 82 of file SearchEngineFactory.php.
References $type.