59 lines
1.1 KiB
PHP
59 lines
1.1 KiB
PHP
<?php defined('BASEPATH') or exit('No direct script access allowed');
|
|
|
|
/**
|
|
* AMS
|
|
*
|
|
* @package HMVC
|
|
* @author Venba
|
|
* @copyright 2022 Venba
|
|
* @license https://venbainfotech.com/licenses/MIT MIT License
|
|
* @link <URI> (description)
|
|
* @version GIT: $Id$
|
|
* @since Version 0.0.1
|
|
* @filesource
|
|
*
|
|
*/
|
|
|
|
class Backend extends Backend_Controller
|
|
{
|
|
//
|
|
public $CI;
|
|
|
|
/**
|
|
* An array of variables to be passed through to the
|
|
* view, layout,....
|
|
*/
|
|
protected $data = array();
|
|
|
|
/**
|
|
* [__construct description]
|
|
*
|
|
* @method __construct
|
|
*/
|
|
public function __construct()
|
|
{
|
|
// To inherit directly the attributes of the parent class.
|
|
parent::__construct();
|
|
}
|
|
|
|
/**
|
|
* [index description]
|
|
*
|
|
* @method index
|
|
*
|
|
* @return [type] [description]
|
|
*/
|
|
public function index()
|
|
{
|
|
// Example
|
|
// $this->load->render_page('backend/dashboard',[]);
|
|
echo 'Hi from Backend_Controller&index function';//die();
|
|
redirect('login');
|
|
}
|
|
|
|
public function str_length()
|
|
{
|
|
echo '<p>strlength</p>';
|
|
}
|
|
}
|