Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
SMW\Elastic\Config Class Reference
Inheritance diagram for SMW\Elastic\Config:
Inheritance graph
[legend]
Collaboration diagram for SMW\Elastic\Config:
Collaboration graph
[legend]

Public Member Functions

 isDefaultStore ()
 
 setDeprectedKeys (array $deprecatedKeys)
 
 reassignDeprectedKeys ()
 
 loadFromJSON ( $data)
 
 readFile ( $file)
 
- Public Member Functions inherited from SMW\Options
 __construct (array $options=[])
 
 set ( $key, $value)
 
 delete ( $key)
 
 has ( $key)
 
 is ( $key, $value)
 
 get ( $key)
 
 safeGet ( $key, $default=false)
 
 dotGet ( $key, $default=false)
 
 isFlagSet ( $key, $flag)
 
 toArray ()
 
 getOptions ()
 
 filter (array $keys)
 

Public Attributes

const DEFAULT_STORE = 'elastic/defaultstore'
 
const ELASTIC_ENDPOINTS = 'elastic/endpoints'
 

Additional Inherited Members

- Protected Attributes inherited from SMW\Options
 $options = []
 

Detailed Description

GNU GPL v2+

Since
3.0
Author
mwjames

Member Function Documentation

◆ isDefaultStore()

SMW\Elastic\Config::isDefaultStore ( )
Since
3.2
Returns
boolean

◆ loadFromJSON()

SMW\Elastic\Config::loadFromJSON (   $data)
Since
3.0
Parameters
string$data

◆ readFile()

SMW\Elastic\Config::readFile (   $file)
Since
3.0
Parameters
string$file
Returns
string|false
Exceptions
RuntimeException

◆ reassignDeprectedKeys()

SMW\Elastic\Config::reassignDeprectedKeys ( )
Since
3.2

◆ setDeprectedKeys()

SMW\Elastic\Config::setDeprectedKeys ( array  $deprecatedKeys)
Note
Can only be used during testing
Since
3.2
Parameters
array$deprecatedKeys

Member Data Documentation

◆ DEFAULT_STORE

const SMW\Elastic\Config::DEFAULT_STORE = 'elastic/defaultstore'

Whether EalsticStore was selected as default store or not

◆ ELASTIC_ENDPOINTS

const SMW\Elastic\Config::ELASTIC_ENDPOINTS = 'elastic/endpoints'

Describes registered endpoints


The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy