DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:type

This is an old revision of the document!


Struct Plugin: Types

Types are used when defining schemas. Each field in the schema has to have a type. It configures what data is accepted in the field and how it will be displayed later on.

Available Types

Configuration

Each type has it's own specific configuration options described on the type's own page linked above. In addition there's some configuration available to each type described here:

Config Format Description
translation array of strings This array contains keys for all languages available in the wiki (as defined by the translation plugin). You can use this to set translated labels for the filed. These are used when showing the data or displaying the data editor. It's recommended to use short, rarely changing field names and set speaking names through this mechanism.
plugin/struct/type.1457004499.txt.gz · Last modified: 2016-03-03 12:28 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki