summaryrefslogtreecommitdiffstats
path: root/app/model
diff options
context:
space:
mode:
authorM <m@lfurio.us>2015-11-22 12:40:37 -0500
committerM <m@lfurio.us>2015-11-22 12:40:37 -0500
commitb1f4cf9b23acbcb80f937ef7f0b9f18fdb167f5a (patch)
treedbfb151948cf2603a4f74f93870b508a6c94d6ea /app/model
parent2710f0de8d8d900a0997fd72f315c8a6f07329cf (diff)
downloadscrott-b1f4cf9b23acbcb80f937ef7f0b9f18fdb167f5a.tar.gz
scrott-b1f4cf9b23acbcb80f937ef7f0b9f18fdb167f5a.zip
+ Start of Master MVC ( will define generic layout of pages but will not define logic for header ui. since this depends on an established database ).
+ Added Master model ! As far as I am planning right now, the only MVC that will inherit Master directly will be sysconf since it cannot rely on an existing database connection.
Diffstat (limited to 'app/model')
-rw-r--r--app/model/master.mod.php9
-rw-r--r--app/model/sysconf.mod.php4
2 files changed, 11 insertions, 2 deletions
diff --git a/app/model/master.mod.php b/app/model/master.mod.php
new file mode 100644
index 0000000..2570a8b
--- /dev/null
+++ b/app/model/master.mod.php
@@ -0,0 +1,9 @@
+<?php
+
+require_once "class/model.class.php";
+
+class MasterModel extends Model
+{
+}
+
+?>
diff --git a/app/model/sysconf.mod.php b/app/model/sysconf.mod.php
index cc29294..754d1a6 100644
--- a/app/model/sysconf.mod.php
+++ b/app/model/sysconf.mod.php
@@ -1,8 +1,8 @@
<?php
-require_once "class/model.class.php";
+require_once "model/master.mod.php";
-class SysconfModel extends Model
+class SysconfModel extends MasterModel
{
/*
* Default action