ATemplate implements JsonSerializable
Class ATemplate
Tags
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
Return values
string —getPreview()
Return a link to the template preview image
public
abstract getPreview() : string
Tags
Return values
string —getTitle()
Return a title that is displayed to the user
public
abstract getTitle() : string
Tags
Return values
string —jsonSerialize()
public
jsonSerialize() : array|mixed