OCA\Richdocuments\AppConfig::getUserValue PHP 메소드

getUserValue() 공개 메소드

Get a value by key for a user
public getUserValue ( string $userId, string $key ) : string
$userId string
$key string
리턴 string
    public function getUserValue($userId, $key)
    {
        $defaultValue = null;
        if (array_key_exists($key, $this->defaults)) {
            $defaultValue = $this->defaults[$key];
        }
        return $this->config->getUserValue($userId, $this->appName, $key, $defaultValue);
    }