From 6bc0ec6aab44a586a6072302f77604f6286cd8ff Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 4 Aug 2022 09:35:25 -0400 Subject: [PATCH] Add Report ORM --- web/includes/Report.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 web/includes/Report.php diff --git a/web/includes/Report.php b/web/includes/Report.php new file mode 100644 index 000000000..ed3499ad7 --- /dev/null +++ b/web/includes/Report.php @@ -0,0 +1,26 @@ + null, + 'Name' => '', + 'FilterId' => null, + 'StartDateTime' => null, + 'EndDateTime' => null, + 'Interval' => '86400', + ); + + 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 Report +?>