diff --git a/app/event_guard/resources/classes/event_guard.php b/app/event_guard/resources/classes/event_guard.php index 8a388a949..09afd5786 100644 --- a/app/event_guard/resources/classes/event_guard.php +++ b/app/event_guard/resources/classes/event_guard.php @@ -34,6 +34,7 @@ class event_guard { */ const app_name = 'event_guard'; const app_uuid = 'c5b86612-1514-40cb-8e2c-3f01a8f6f637'; + const app_category = 'switch'; /** * Set in the constructor. Must be a database object and cannot be null. @@ -98,6 +99,15 @@ class event_guard { $this->location = 'event_guard_logs.php'; } + /** + * Get the category of this class. + * + * @return string The constant category value. + */ + public static function get_category(): string { + return self::app_category; + } + /** * Deletes one or more records. *