summaryrefslogtreecommitdiffstats
path: root/app/class
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-01-01 00:08:50 -0500
committerMalf Furious <m@lfurio.us>2016-01-01 00:08:50 -0500
commitc139f96610ba12f5035f1c3a18448a290714d851 (patch)
tree4ad20c59e8b549cb19e5d8760dcbd246cd8c6306 /app/class
parent231a312a77f7f774b48fb5700bea780b274ed82a (diff)
downloadscrott-c139f96610ba12f5035f1c3a18448a290714d851.tar.gz
scrott-c139f96610ba12f5035f1c3a18448a290714d851.zip
+ Added class file for issue table
Diffstat (limited to 'app/class')
-rw-r--r--app/class/issue.class.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/class/issue.class.php b/app/class/issue.class.php
new file mode 100644
index 0000000..90a095c
--- /dev/null
+++ b/app/class/issue.class.php
@@ -0,0 +1,28 @@
+<?php
+
+require_once "class/object.class.php";
+
+/*
+ * Pad issues
+ */
+class Issue extends Object
+{
+ /*
+ * Constructor
+ */
+ function __construct($guid = null)
+ {
+ $cols = array(
+ "guid",
+ "number",
+ "assignee",
+ "unread",
+ "desc"
+ );
+
+ parent::__construct("issue", $cols);
+ $this->loadObj($guid);
+ }
+}
+
+?>