summaryrefslogtreecommitdiffstats
path: root/app/class
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-01-01 14:27:53 -0500
committerMalf Furious <m@lfurio.us>2016-01-01 14:27:53 -0500
commit4f2f824cfef24b572994c9831dd4bf4bbc575dc1 (patch)
treed05eb49af2d91f421ff09a64d9567082ac21e07f /app/class
parentc139f96610ba12f5035f1c3a18448a290714d851 (diff)
downloadscrott-4f2f824cfef24b572994c9831dd4bf4bbc575dc1.tar.gz
scrott-4f2f824cfef24b572994c9831dd4bf4bbc575dc1.zip
+ Added class file for message table
Diffstat (limited to 'app/class')
-rw-r--r--app/class/message.class.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/class/message.class.php b/app/class/message.class.php
new file mode 100644
index 0000000..d39bea8
--- /dev/null
+++ b/app/class/message.class.php
@@ -0,0 +1,26 @@
+<?php
+
+require_once "class/object.class.php";
+
+/*
+ * User messages and log messages
+ */
+class Message extends Object
+{
+ /*
+ * Constructor
+ */
+ function __construct($guid = null)
+ {
+ $cols = array(
+ "guid",
+ "author",
+ "message"
+ );
+
+ parent::__construct("message", $cols);
+ $this->loadObj($guid);
+ }
+}
+
+?>