From 9b36b68ccc857e8ff31535164d6d5c4e9db208ba Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 31 Aug 2020 18:28:53 -0400 Subject: [PATCH] Introduce a Group_Monitor class to ease loading this relationship --- web/includes/Group_Monitor.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 web/includes/Group_Monitor.php diff --git a/web/includes/Group_Monitor.php b/web/includes/Group_Monitor.php new file mode 100644 index 000000000..a015c5e60 --- /dev/null +++ b/web/includes/Group_Monitor.php @@ -0,0 +1,20 @@ + null, + 'GroupId' => null, + 'MonitorId' => null, + ); + + public static function find( $parameters = array(), $options = array() ) { + return ZM_Object::_find(get_class(), $parameters, $options); + } + + public static function find_one( $parameters = array(), $options = array() ) { + return ZM_Object::_find_one(get_class(), $parameters, $options); + } +} # end class Group_Monitor +?>