CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Profile repository backed by a Config object. More...
Public Member Functions | |
__construct ( $type, $name, $configEntry, Config $config) | |
repositoryType () | |
repositoryName () | |
The repository name. | |
getProfile ( $name) | |
Load a profile named $name. | |
hasProfile ( $name) | |
Check if a profile named $name exists in this repository. | |
listExposedProfiles () | |
Get the list of profiles that we want to expose to the user. | |
Static Public Member Functions | |
static | extractConfig (string $configEntry, Config $config) |
static | extractAttribute (string $configEntry) |
Profile repository backed by a Config object.
CirrusSearch\Profile\ConfigProfileRepository::__construct | ( | $type, | |
$name, | |||
$configEntry, | |||
Config | $config ) |
string | $type | |
string | $name | |
string | $configEntry | the name of config key holding the list of profiles |
Config | $config |
|
static |
string | $configEntry |
|
static |
string | $configEntry | |
Config | $config |
CirrusSearch\Profile\ConfigProfileRepository::getProfile | ( | $name | ) |
Load a profile named $name.
string | $name |
SearchProfileException |
Implements CirrusSearch\Profile\SearchProfileRepository.
CirrusSearch\Profile\ConfigProfileRepository::hasProfile | ( | $name | ) |
Check if a profile named $name exists in this repository.
string | $name |
Implements CirrusSearch\Profile\SearchProfileRepository.
CirrusSearch\Profile\ConfigProfileRepository::listExposedProfiles | ( | ) |
Get the list of profiles that we want to expose to the user.
Implements CirrusSearch\Profile\SearchProfileRepository.
CirrusSearch\Profile\ConfigProfileRepository::repositoryName | ( | ) |
CirrusSearch\Profile\ConfigProfileRepository::repositoryType | ( | ) |
Implements CirrusSearch\Profile\SearchProfileRepository.