PHP Interface Sulu\Component\Webspace\Settings\SettingsManagerInterface

ファイルを表示 Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
load ( string $webspaceKey, string $key ) : mixed Load webspace settings value.
loadByWildcard ( $webspaceKey, $wildcard ) : mixed[] Load webspace settings by wildcard.
loadString ( string $webspaceKey, string $key ) : string Load webspace settings value and return it as a string.
loadStringByWildcard ( $webspaceKey, $wildcard ) : string[] Load webspace settings as strings by wildcard.
remove ( string $webspaceKey, string $key ) Remove webspace settings value.
save ( string $webspaceKey, string $key, mixed $data ) Save webspace settings value.

Method Details

load() public method

Load webspace settings value.
public load ( string $webspaceKey, string $key ) : mixed
$webspaceKey string
$key string
return mixed

loadByWildcard() public method

Load webspace settings by wildcard.
public loadByWildcard ( $webspaceKey, $wildcard ) : mixed[]
$webspaceKey
$wildcard
return mixed[]

loadString() public method

Load webspace settings value and return it as a string.
public loadString ( string $webspaceKey, string $key ) : string
$webspaceKey string
$key string
return string

loadStringByWildcard() public method

Load webspace settings as strings by wildcard.
public loadStringByWildcard ( $webspaceKey, $wildcard ) : string[]
$webspaceKey
$wildcard
return string[]

remove() public method

Remove webspace settings value.
public remove ( string $webspaceKey, string $key )
$webspaceKey string
$key string

save() public method

Save webspace settings value.
public save ( string $webspaceKey, string $key, mixed $data )
$webspaceKey string
$key string
$data mixed