phpDocumentor

CurrentUserConfigurationService

Interface CurrentUserConfigurationService

Table of Contents

getValue()  : string|null
Returns a user configuration value for the current user, based on the given key and default value.
storeConfiguration()  : void
Stores a user configuration based on the given key and value.

Methods

getValue()

Returns a user configuration value for the current user, based on the given key and default value.

public getValue(string $key[, string|null $default = null ]) : string|null
Parameters
$key : string
$default : string|null = null
Tags
throws
NoLoggedInUserException

If no current user exists in the session of this request.

Return values
string|null

storeConfiguration()

Stores a user configuration based on the given key and value.

public storeConfiguration(string $key, string $value) : void
Parameters
$key : string
$value : string
Tags
throws
NoLoggedInUserException

If no current user exists in the session of this request.

Return values
void

Search results