class SolrVersionRealm in Apache Solr Config Generator 7
Controller for solr version realms.
Hierarchy
- class \SolrVersionRealm extends \VariableRealmDefaultController
Expanded class hierarchy of SolrVersionRealm
1 string reference to 'SolrVersionRealm'
File
- ./
apachesolr_confgen.class.inc, line 10 - Variable Realm controller.
View source
class SolrVersionRealm extends VariableRealmDefaultController {
/**
* Implementation of VariableRealmControllerInterface::getAvailableVariables().
*/
public function getAvailableVariables() {
$version_dependent = array();
$conf = variable_get('apachesolr_confgen_solr_version_dependent_variables', array());
foreach (variable_get_info() as $name => $variable) {
if (!empty($variable['solr_version_dependent']) || in_array($name, $conf)) {
$version_dependent[] = $name;
}
}
return $version_dependent;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SolrVersionRealm:: |
public | function | Implementation of VariableRealmControllerInterface::getAvailableVariables(). |