Nextcloud PHP API (master)

Field
in package
implements JsonSerializable

AbstractYes
Tags
since
30.0.0

Table of Contents

Interfaces

JsonSerializable

Properties

$alias  : string|null
$id  : int|null
$tag  : string|null
$index  : string
$type  : FieldType

Methods

__construct()  : mixed
jsonSerialize()  : array{index: string, type: string, alias: ?string, tag: ?string, id: ?int, content?: string, checked?: bool}
setValue()  : void

Properties

$alias

public string|null $alias = null

$id

public int|null $id = null

$tag

public string|null $tag = null

$index

private string $index

Methods

__construct()

public __construct(string $index, FieldType $type) : mixed
Parameters
$index : string
$type : FieldType
Tags
since
30.0.0

jsonSerialize()

public jsonSerialize() : array{index: string, type: string, alias: ?string, tag: ?string, id: ?int, content?: string, checked?: bool}
Tags
since
30.0.0
Return values
array{index: string, type: string, alias: ?string, tag: ?string, id: ?int, content?: string, checked?: bool}

setValue()

public abstract setValue(mixed $value) : void
Parameters
$value : mixed
Tags
since
30.0.0

        
On this page

Search results