Nextcloud PHP API (master)

ValueType : int
in package

Listing of available value type for typed config value

Table of Contents

Cases

ARRAY  = 5
BOOL  = 4
FLOAT  = 3
INT  = 2
MIXED
STRING  = 1

Methods

fromStringDefinition()  : self
get ValueType from string
getDefinition()  : string
get string definition for current enum value
toAppConfigFlag()  : int
get corresponding AppConfig flag value

Cases

Methods

fromStringDefinition()

get ValueType from string

public static fromStringDefinition(string $definition) : self
Parameters
$definition : string
Tags
throws
IncorrectTypeException
since
32.0.0
Return values
self

getDefinition()

get string definition for current enum value

public getDefinition() : string
Tags
throws
IncorrectTypeException
since
32.0.0
Return values
string

toAppConfigFlag()

get corresponding AppConfig flag value

public toAppConfigFlag() : int
Tags
throws
IncorrectTypeException
since
32.0.0
Return values
int

        
On this page

Search results