Cleaned up some class and directory names for consistency
authorChuck Scott <cscott@gaslightmedia.com>
Mon, 3 Nov 2014 20:16:31 +0000 (15:16 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Mon, 3 Nov 2014 20:16:31 +0000 (15:16 -0500)
controllers/front.php [new file with mode: 0644]
controllers/front_end.php [deleted file]
index.php

diff --git a/controllers/front.php b/controllers/front.php
new file mode 100644 (file)
index 0000000..e7a39b1
--- /dev/null
@@ -0,0 +1,44 @@
+<?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
diff --git a/controllers/front_end.php b/controllers/front_end.php
deleted file mode 100644 (file)
index b5a8a3c..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<?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
index a085b13..548b641 100644 (file)
--- a/index.php
+++ b/index.php
@@ -46,7 +46,7 @@ Directory and File Structure
                                                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.
         
@@ -73,7 +73,7 @@ Directory and File Structure
                                                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.
                                                
                                                
@@ -179,8 +179,8 @@ if (is_admin()) {
 
 } 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);
        
 }