<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* -----------------------------------------------------------------------
* Editor : PhpStorm
* Date : 1/12/2018
* Time : 7:40 AM
* Authors : Raymond L King Sr.
* -----------------------------------------------------------------------
*
* Class MY_Controller
*
* @project ci3admin
* @author Raymond L King Sr.
* @link http://www.procoversfx.com
* @copyright Copyright (c) 2009 - 2018 Custom Software Designers, LLC.
* @license http://www.procoversfx.com/license
* -----------------------------------------------------------------------
*/
/**
* Class BaseController
*
* Make sure your save it as
* ./application/core/MY_Controller.php
*/
class BaseController extends CI_Controller
{
/**
* Class properties - public, private, protected and static.
* -----------------------------------------------------------------------
*/
/**
* Data variable for views.
*
* @var array
*/
public $data = [];
/**
* __construct ()
* -----------------------------------------------------------------------
*
* Class Constructor
*
* NOTE: Not needed if not setting values or extending a Class.
*/
public function __construct()
{
parent::__construct();
log_message('debug', "BaseController Controller Class Initialized");
}
// -----------------------------------------------------------------------
} // End of BaseController Controller Class.
/**
* Class Backend
*/
class Backend extends BaseController
{
/**
* Class properties - public, private, protected and static.
* -----------------------------------------------------------------------
*/
/**
* __construct ()
* -----------------------------------------------------------------------
*
* Class Constructor
*
* NOTE: Not needed if not setting values or extending a Class.
*/
public function __construct()
{
parent::__construct();
log_message('debug', "Backend Controller Class Initialized");
}
// -----------------------------------------------------------------------
} // End of Backend Controller Class.
/**
* Class Frontend
*/
class Frontend extends BaseController
{
/**
* Class properties - public, private, protected and static.
* -------------------------------------------------------------------
*/
/**
* __construct ()
* -------------------------------------------------------------------
*
* Class Constructor
*
* NOTE: Not needed if not setting values or extending a Class.
*/
public function __construct()
{
parent::__construct();
log_message('debug', "Frontend Controller Class Initialized");
}
// -------------------------------------------------------------------
} // End of Frontend Controller Class.
// End of MY_Controller Controller Class.
/**
* -----------------------------------------------------------------------
* Filename: MY_Controller.php
* Location: ./application/core/MY_Controller.php
* -----------------------------------------------------------------------
*/