helper
class helper
| internal |
General helper and utility functions for various common operations.
Methods
static array
custom_array_merge(array $default, array $newarray)
Merges two arrays, giving precedence to non-null values from the new array.
static void
install_or_upgrade_log(string $message, string $type = notification::NOTIFY_SUCCESS)
Logs a message during plugin installation or upgrade process, using Moodle notifications.
Details
at line 39
static array
custom_array_merge(array $default, array $newarray)
Merges two arrays, giving precedence to non-null values from the new array.
at line 57
static void
install_or_upgrade_log(string $message, string $type = notification::NOTIFY_SUCCESS)
Logs a message during plugin installation or upgrade process, using Moodle notifications.