Kernel::WebApp::Util::Preferences::Role::Type::ProvidesBase

NAME

Kernel::WebApp::Util::Preferences::Role::Type::ProvidesBase – Provides functionality for the base preference type.

PUBLIC INTERFACE

has EntityType

Attribute that holds to the entity type of the current preference.

has ItemData

Attribute that holds the item data.

requires PreferenceType

Specifies the current preference type.

requires DisplayValueData

The type module needs to be define a display value function, which provides the data for the output.

GetConfig()

Get the preference key from the configuration. With the 'Name' argument it's possible to get a single value.

Name()

The /Name() method will return the Preference Name.

Label()

The /Label() method will return the Preference Label.

Description()

The /Description() method will return the Preference description.

GetValue()

The /GetValue() method will return the current preference value.

PRIVATE INTERFACE

has _Config

Attribute that holds the preference configuration.

Scroll to Top