model/modx/processors/element/template/create.php
- package
- modx
- $templatename
- string
The name of the template - $content
- string
The code of the template. - $description
- string
(optional) A brief description. - $category
- integer
(optional) The category to assign to. Defaults to no category. - $locked
- boolean
(optional) If true, can only be accessed by administrators. Defaults to false. - $propdata
- \json
(optional) A json array of properties - $tvs
- \json
(optional) A json array of TVs associated to the template - subpackage
- processors.element.template
Description
Create a template