PHP 클래스 Wallmander\ElasticsearchIndexer\Model\Config

저자: Mikael Mattsson ([email protected])
파일 보기 프로젝트 열기: wallmanderco/elasticsearch-indexer 1 사용 예제들

공개 메소드들

메소드 설명
enabledFullIntegration ( )
enabledIntegration ( )
getFirstHost ( )
getHosts ( )
getIndexName ( $blogID )
load ( string $config ) : array Fetch config array from a file in the config directory.
option ( $key ) : mixed | void Get option from wp_options table.
optionKey ( $key ) : string Prepend the option prefix to a key.
setOption ( $key, $value, null | string $autoload = null ) Save an option to wp_options table.

메소드 상세

enabledFullIntegration() 공개 정적인 메소드

public static enabledFullIntegration ( )

enabledIntegration() 공개 정적인 메소드

public static enabledIntegration ( )

getFirstHost() 공개 정적인 메소드

public static getFirstHost ( )

getHosts() 공개 정적인 메소드

public static getHosts ( )

getIndexName() 공개 정적인 메소드

public static getIndexName ( $blogID )

load() 공개 정적인 메소드

Fetch config array from a file in the config directory.
public static load ( string $config ) : array
$config string
리턴 array

option() 공개 정적인 메소드

Get option from wp_options table.
public static option ( $key ) : mixed | void
$key
리턴 mixed | void

optionKey() 공개 정적인 메소드

Prepend the option prefix to a key.
public static optionKey ( $key ) : string
$key
리턴 string

setOption() 공개 정적인 메소드

Save an option to wp_options table.
public static setOption ( $key, $value, null | string $autoload = null )
$key
$value
$autoload null | string