--- /dev/null
+<?php
+/**
+ * Gaslight Media Prototype Management and Display
+ * Front-End Controller
+ *
+ * PHP version 5.5
+ *
+ * @category glmWordPressPlugin
+ * @package glmPrototypeManagement
+ * @author Chuck Scott <cscott@gaslightmedia.com>
+ * @license http://www.gaslightmedia.com Gaslightmedia
+ * @release admin.php,v 1.0 2014/10/31 19:31:47 cscott Exp $
+ * @link http://dev.gaslightmedia.com/
+ */
+
+/*
+ * This class controls which models are use for front-end functionality
+ * of this plugin.
+ */
+class glmProtoFront
+{
+
+ /**
+ * WordPress Database Object
+ * @var $wpdb
+ * @access public
+ */
+ public $wpdb;
+
+ public function __construct()
+ {
+
+ // Save WordPress Database object
+ $this->wpdb = $wpdb;
+
+ /*
+ * This plugin does not currently have front-end functionality
+ */
+
+ }
+
+}
+
+?>
\ No newline at end of file
+++ /dev/null
-<?php
-/**
- * Gaslight Media Prototype Management and Display
- * Front-End Controller
- *
- * PHP version 5.5
- *
- * @category glmWordPressPlugin
- * @package glmPrototypeManagement
- * @author Chuck Scott <cscott@gaslightmedia.com>
- * @license http://www.gaslightmedia.com Gaslightmedia
- * @release admin.php,v 1.0 2014/10/31 19:31:47 cscott Exp $
- * @link http://dev.gaslightmedia.com/
- */
-
-/*
- * This class controls which models are use for front-end functionality
- * of this plugin.
- */
-class glm_proto_front_end
-{
-
- /**
- * WordPress Database Object
- * @var $wpdb
- * @access public
- */
- public $wpdb;
-
- public function __construct()
- {
-
- // Save WordPress Database object
- $this->wpdb = $wpdb;
-
- /*
- * This plugin does not currently have front-end functionality
- */
-
- }
-
-}
-
-?>
\ No newline at end of file
here. (See "Process Flow" below.)
controllers Directory containing any controllers. Typically there
- would be admin and front-end controllers in this directory.
+ would be admin and front controllers in this directory.
css Directory containing any css files specific to this plugin.
then there should be sub-directories for the various
groupings of related view files. If using sub-directories,
those should generally match the associated model directories.
- It may also be wise to use separate front-end and admin
+ It may also be wise to use separate front and admin
directories under views to keep things organized.
} else {
- require_once(GLM_PROTO_PLUGIN_DIR.'/controllers/front_end.php');
- new glm_proto_front_end($wpdb);
+ require_once(GLM_PROTO_PLUGIN_DIR.'/controllers/front.php');
+ new glmProtoFront($wpdb);
}