WWW::Kontent::Class::Setting - Page class for a setting in Kontent
# Attributes kontent:class=setting kontent:version=1 setting:value=the setting's value setting:desc=documentation about the setting setting:desctype=text/x-kolophon
Setting is a page class representing a Kontent setting.
Note: Settings are fairly magical pages, and Kontent's core is sensitive to their internal structure. Settings should only be placed under the /kontent/settings page in your Kontent store, and should never have child pages. However, it is safe to create settings with names Kontent doesn't use.
/kontent/settings
Each setting has a value and a description; the description serves as documentation of the setting's meaning. Both values and descriptions can be edited through the page's 'edit' mode, although the description is usually left alone.
Internally, settings are retrieved through the WWW::Kontent::setting function. Settings are usually interpreted as simple text strings, but are sometimes treated as YAML documents or interpolated like Perl 6 string literals; this should be noted in the description.
WWW::Kontent::setting
setting:value
The value of the setting.
setting:desc
The setting's description.
setting:desctype
The MIME type of the description. Defaults to text/x-kolophon.
text/x-kolophon
view, history, edit
WWW::Kontent, WWW::Kontent::Foundation
1 POD Error
The following errors were encountered while parsing the POD:
=back doesn't take any parameters, but you said =back 4
To install WWW::Kontent::Class::Setting, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Kontent::Class::Setting
CPAN shell
perl -MCPAN -e shell install WWW::Kontent::Class::Setting
For more information on module installation, please visit the detailed CPAN module installation guide.