g
Frontend | Backend | Api

Common\Models\Backend\Setting

Setting

Method Description Returns
getEditor() string
getSettingValueWithKey(string $key) Check if the setting has a value with the specified key and return it SettingValue
getId() int
getModule() string
getType() string
getKey() string
getValue() string
getValues() Collection (SettingValue)
isRequired() bool
getRegex() string
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
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