Last active
January 2, 2019 09:07
-
-
Save YuvrajKhavad/e19fa5d0e5a25517310057ab1b7714c8 to your computer and use it in GitHub Desktop.
Controllar file of application.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
class Employee extends CI_Controller | |
{ | |
// This method will call when Employee controller called | |
public function index() | |
{ | |
// Load header view, file location application\views\includes\header.php | |
$this->load->view('includes/header'); | |
// Load content view, file location application\views\content.php | |
$this->load->view('employee/employee_list'); | |
// Load footer view, file location application\views\includes\footer.php | |
$this->load->view('includes/footer'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment