Nextcloud PHP API (master)

ICustomTemplateProvider

Tags
since
21.0.0

Table of Contents

Methods

getCustomTemplate()  : File
Return the file for a given template id
getCustomTemplates()  : array<string|int, File>
Return a list of additional templates that the template provider is offering

Methods

getCustomTemplate()

Return the file for a given template id

public getCustomTemplate(string $template) : File
Parameters
$template : string

identifier of the template

Tags
since
21.0.0
Return values
File

getCustomTemplates()

Return a list of additional templates that the template provider is offering

public getCustomTemplates(string $mimetype) : array<string|int, File>
Parameters
$mimetype : string
Tags
since
21.0.0
Return values
array<string|int, File>

        
On this page

Search results