Nextcloud PHP API (master)

ShapeDescriptor
in package
implements JsonSerializable

Data object for input output shape entries

Tags
since
30.0.0

Table of Contents

Interfaces

JsonSerializable

Properties

$description  : string
$name  : string
$shapeType  : EShapeType

Methods

__construct()  : mixed
getDescription()  : string
getName()  : string
getShapeType()  : EShapeType
jsonSerialize()  : array{name: string, description: string, type: "Number"|"Text"|"Audio"|"Image"|"Video"|"File"|"Enum"|"ListOfNumbers"|"ListOfTexts"|"ListOfImages"|"ListOfAudios"|"ListOfVideos"|"ListOfFiles"}

Properties

Methods

__construct()

public __construct(string $name, string $description, EShapeType $shapeType) : mixed
Parameters
$name : string
$description : string
$shapeType : EShapeType
Tags
since
30.0.0

getDescription()

public getDescription() : string
Tags
since
30.0.0
Return values
string

getName()

public getName() : string
Tags
since
30.0.0
Return values
string

jsonSerialize()

public jsonSerialize() : array{name: string, description: string, type: "Number"|"Text"|"Audio"|"Image"|"Video"|"File"|"Enum"|"ListOfNumbers"|"ListOfTexts"|"ListOfImages"|"ListOfAudios"|"ListOfVideos"|"ListOfFiles"}
Tags
since
30.0.0
Return values
array{name: string, description: string, type: "Number"|"Text"|"Audio"|"Image"|"Video"|"File"|"Enum"|"ListOfNumbers"|"ListOfTexts"|"ListOfImages"|"ListOfAudios"|"ListOfVideos"|"ListOfFiles"}

        
On this page

Search results