Used to store details of the dependency between two settings elements.
More...
|
string | $condition |
| the condition to show/hide the element
|
|
string | $dependenton |
| the setting this is dependent on
|
|
string | $settingname |
| the name of the setting to be shown/hidden
|
|
string | $value |
| the value to compare against
|
|
Used to store details of the dependency between two settings elements.
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- Copyright
- 2017 Davo Smith, Synergy Learning
◆ __construct()
admin_settingdependency::__construct |
( |
|
$settingname, |
|
|
|
$dependenton, |
|
|
|
$condition, |
|
|
|
$value |
|
) |
| |
admin_settingdependency constructor.
- Parameters
-
string | $settingname | |
string | $dependenton | |
string | $condition | |
string | $value | |
- Exceptions
-
◆ prepare_for_javascript()
static admin_settingdependency::prepare_for_javascript |
( |
|
$dependencies | ) |
|
|
static |
Gather together all the dependencies in a format suitable for initialising javascript.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file: