summaryrefslogtreecommitdiffstats
path: root/app/class/message.class.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-01-01 16:58:34 -0500
committerMalf Furious <m@lfurio.us>2016-01-01 16:58:34 -0500
commit03dd6556041ec11efe86f36d53db38c02d4362a7 (patch)
treee2565c1e1dc7ba5de7342b7b6199d970c60dae94 /app/class/message.class.php
parentc36269f976cb8287f1b6e17d4b0a958e4e9741da (diff)
parent0a92a484554f214d0e499c872807e6b0a3e865ad (diff)
downloadscrott-03dd6556041ec11efe86f36d53db38c02d4362a7.tar.gz
scrott-03dd6556041ec11efe86f36d53db38c02d4362a7.zip
Merge branch 'datastructures' into dev
Diffstat (limited to 'app/class/message.class.php')
-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);
+ }
+}
+
+?>