Frontend | Backend | Api

Common\Models\Backend\WidgetSetting

WidgetSetting

Method Description Returns
getEditor() string
getId() int
getKey() string
getType() string
getValue() string
getWidget() Widget
isRequired() bool
getRegex() string
getValues() Collection (WidgetSettingValue)
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool
getDescription() string
getHelp() string
getPossibleValues() array
getAvailableModels() Collection
getDisplayProperty() string
getDefaultValue() mixed
getDefaultValueAsString(string $separator) Get the default value as a string string
isUserSettable() bool