PHP Class Sulu\Component\Webspace\Settings\SettingsManager

Inheritance: implements Sulu\Component\Webspace\Settings\SettingsManagerInterface
显示文件 Open project: sulu/sulu

Public Methods

Method Description
__construct ( Sulu\Bundle\DocumentManagerBundle\Session\SessionManagerInterface $sessionManager, Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $deprecatedSessionManager )
load ( $webspaceKey, $key )
loadByWildcard ( $webspaceKey, $wildcard )
loadString ( $webspaceKey, $key )
loadStringByWildcard ( $webspaceKey, $wildcard )
remove ( $webspaceKey, $key )
save ( $webspaceKey, $key, $data )

Private Methods

Method Description
decodeValue ( mixed $value ) : mixed Returns decoded value.
getPropertyName ( string $key ) : string Returns phpcr-propertyname for given key.

Method Details

__construct() public method

public __construct ( Sulu\Bundle\DocumentManagerBundle\Session\SessionManagerInterface $sessionManager, Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $deprecatedSessionManager )
$sessionManager Sulu\Bundle\DocumentManagerBundle\Session\SessionManagerInterface
$deprecatedSessionManager Sulu\Component\PHPCR\SessionManager\SessionManagerInterface

load() public method

public load ( $webspaceKey, $key )

loadByWildcard() public method

public loadByWildcard ( $webspaceKey, $wildcard )

loadString() public method

public loadString ( $webspaceKey, $key )

loadStringByWildcard() public method

public loadStringByWildcard ( $webspaceKey, $wildcard )

remove() public method

public remove ( $webspaceKey, $key )

save() public method

public save ( $webspaceKey, $key, $data )