g
Frontend | Backend | Api

Users\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
getKey() string
getType() string
getValue() string
getUser() User
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