model/modx/processors/element/tv/create.php
- package
- modx
- $name
- string
The name of the TV - $caption
- string
(optional) A short caption for the TV. - $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. - $els
- string
(optional) - $rank
- integer
(optional) The rank of the TV - $display
- string
(optional) The type of output render - $display_params
- string
(optional) Any display rendering parameters - $default_text
- string
(optional) The default value for the TV - $templates
- \json
(optional) Templates associated with the TV - $resource_groups
- \json
(optional) Resource Groups associated with the TV. - $propdata
- \json
(optional) A json array of properties - subpackage
- processors.element.tv
Description
Create a Template Variable.