Nextcloud PHP API (stable18)

ATemplate implements JsonSerializable

Class ATemplate

Tags
since
18.0.0

Interfaces, Classes and Traits

JsonSerializable

Table of Contents

getId()  : string
Return a unique id so the app can identify the template
getPreview()  : string
Return a link to the template preview image
getTitle()  : string
Return a title that is displayed to the user
jsonSerialize()  : array|mixed

Methods

getId()

Return a unique id so the app can identify the template

public abstract getId() : string
Tags
since
18.0.0
Return values
string

getPreview()

Return a link to the template preview image

public abstract getPreview() : string
Tags
since
18.0.0
Return values
string

getTitle()

Return a title that is displayed to the user

public abstract getTitle() : string
Tags
since
18.0.0
Return values
string

jsonSerialize()

public jsonSerialize() : array|mixed
Tags
since
18.0.0
Return values
array|mixed

Search results