<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* ------------------------------------------------------------------------
* Editor : PhpStorm 2016.2.2
* Date : 09/29/2016
* Time : 7:45 AM
* Authors : Raymond L King Sr.
* ------------------------------------------------------------------------
*
* Class MY_Controller
*
* @project starter
* @author Raymond L King Sr.
* @link http://www.procoversfx.com
* @copyright Copyright (c) 2009 - 2016 Pro Covers FX, LLC.
* @license http://www.procoversfx.com/license
* ------------------------------------------------------------------------
*/
class Base_Controller extends CI_Controller {
/**
* Class variables - public, private, protected and static.
* --------------------------------------------------------------------
*/
/**
* Hold's the data for the application views
*
* @var array $data
*/
public $data = array();
/**
* __construct ()
* --------------------------------------------------------------------
*
* Class Constructor
*
*/
public function __construct()
{
parent::__construct();
log_message('debug', 'CI : Base_Controller class loaded');
}
// -- Add more base methods below here
} // End of Base_Controller Class.
class Admin_Controller extends Base_Controller
{
/**
* Class variables - public, private, protected and static.
* --------------------------------------------------------------------
*/
/**
* __construct ()
* --------------------------------------------------------------------
*
* Class Constructor
*
*/
public function __construct()
{
parent::__construct();
}
} // End of Admin_Controller Class.
class Public_Controller extends Base_Controller
{
/**
* Class variables - public, private, protected and static.
* --------------------------------------------------------------------
*/
/**
* __construct ()
* --------------------------------------------------------------------
*
* Class Constructor
*
*/
public function __construct()
{
parent::__construct();
}
} // End of Public_Controller Class.
/**
* ------------------------------------------------------------------------
* Filename: MY_Controller.php
* Location: ./application/core/MY_Controller.php
* ------------------------------------------------------------------------
*/