PHP Class OCA\Richdocuments\AppConfig

Afficher le fichier Open project: owncloud/richdocuments

Méthodes publiques

Méthode Description
__construct ( OCP\IConfig $config )
getAppValue ( string $key ) : string Get a value by key
getUserValue ( string $userId, string $key ) : string Get a value by key for a user
setAppValue ( string $key, string $value ) : string Set a value by key
setUserValue ( string $userId, string $key, string $value ) : string Set a value by key for a user

Method Details

__construct() public méthode

public __construct ( OCP\IConfig $config )
$config OCP\IConfig

getAppValue() public méthode

Get a value by key
public getAppValue ( string $key ) : string
$key string
Résultat string

getUserValue() public méthode

Get a value by key for a user
public getUserValue ( string $userId, string $key ) : string
$userId string
$key string
Résultat string

setAppValue() public méthode

Set a value by key
public setAppValue ( string $key, string $value ) : string
$key string
$value string
Résultat string

setUserValue() public méthode

Set a value by key for a user
public setUserValue ( string $userId, string $key, string $value ) : string
$userId string
$key string
$value string
Résultat string