Differences Between: [Versions 400 and 402] [Versions 401 and 402]
(no description)
File Size: | 264 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
config:: (8 methods):
get_moodle_version_major()
defaultvalues()
defaultvalue()
get()
recordings_enabled()
importrecordings_enabled()
get_options()
get_enabled_features()
get_moodle_version_major() X-Ref |
Returns moodle version. return: string |
defaultvalues() X-Ref |
Returns configuration default values. return: array |
defaultvalue(string $setting) X-Ref |
Returns default value for an specific setting. param: string $setting return: string|null |
get(string $setting) X-Ref |
Returns value for an specific setting. param: string $setting return: string |
recordings_enabled() X-Ref |
Validates if recording settings are enabled. return: bool |
importrecordings_enabled() X-Ref |
Validates if imported recording settings are enabled. return: bool |
get_options() X-Ref |
Wraps current settings in an array. return: array |
get_enabled_features(array $typeprofiles, ?string $type = null) X-Ref |
Helper function returns an array with enabled features for an specific profile type. param: array $typeprofiles param: string|null $type return: array |