PHP 클래스 OCA\Richdocuments\AppConfig

파일 보기 프로젝트 열기: owncloud/richdocuments

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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

getAppValue() 공개 메소드

Get a value by key
public getAppValue ( string $key ) : string
$key string
리턴 string

getUserValue() 공개 메소드

Get a value by key for a user
public getUserValue ( string $userId, string $key ) : string
$userId string
$key string
리턴 string

setAppValue() 공개 메소드

Set a value by key
public setAppValue ( string $key, string $value ) : string
$key string
$value string
리턴 string

setUserValue() 공개 메소드

Set a value by key for a user
public setUserValue ( string $userId, string $key, string $value ) : string
$userId string
$key string
$value string
리턴 string