|
| apply_behaviors () |
| Applies the children class specific behaviors.
|
|
| set_behaviors () |
| Each class can overwrite this method to specify extra processes.
|
|
| set_value ($value) |
| Validates the value using paramtype attribute.
|
|
| to_log ($plugin, $name, $value, $actualvalue) |
| Copy of config_write method of the admin_setting class.
|
|
|
string | $attributes = false |
| For multiple value settings, used to look for the other values.
|
|
array | $attributesvalues |
| To store the setting attributes.
|
|
array array | $behaviors = [] |
| To store the behaviors.
|
|
delegation | $delegation |
|
admin_setting | $settingdata |
|
mixed | $value |
| The setting DB value.
|
|
string | $visiblevalue |
| Stores the visible value of the setting DB value.
|
|
◆ apply_behaviors()
core_adminpresets\local\setting\adminpresets_setting::apply_behaviors |
( |
| ) |
|
|
protectedinherited |
Applies the children class specific behaviors.
See delegation class for the available extra behaviors
◆ get_value()
core_adminpresets\local\setting\adminpresets_setting::get_value |
( |
| ) |
|
|
inherited |
Gets the setting value.
- Return values
-
◆ save_attributes_values()
core_adminpresets\local\setting\adminpresets_setting::save_attributes_values |
( |
| ) |
|
|
inherited |
Saves the setting attributes values.
- Return values
-
array|false | Array of inserted ids (in config_log) or false if nothing was inserted |
◆ save_value()
core_adminpresets\local\setting\adminpresets_setting::save_value |
( |
| $name = false, |
|
|
| $value = null ) |
|
inherited |
◆ set_attribute_value()
core_adminpresets\local\setting\adminpresets_setting::set_attribute_value |
( |
| $name, |
|
|
| $value ) |
|
inherited |
◆ set_behaviors()
core_adminpresets\local\setting\adminpresets_setting::set_behaviors |
( |
| ) |
|
|
protectedinherited |
◆ set_value()
core_adminpresets\local\setting\adminpresets_admin_setting_configtext::set_value |
( |
| $value | ) |
|
|
protectedinherited |
◆ set_visiblevalue()
core_adminpresets\local\setting\adminpresets_admin_setting_devicedetectregex::set_visiblevalue |
( |
| ) |
|
◆ to_log()
core_adminpresets\local\setting\adminpresets_setting::to_log |
( |
| $plugin, |
|
|
| $name, |
|
|
| $value, |
|
|
| $actualvalue ) |
|
protectedinherited |
Copy of config_write method of the admin_setting class.
- Parameters
-
string | $plugin | |
string | $name | |
mixed | $value | |
mixed | $actualvalue | |
- Return values
-
integer | The stored config_log id |
The documentation for this class was generated from the following file:
- admin/presets/classes/local/setting/adminpresets_admin_setting_devicedetectregex.php