visa_app/application/controllers/Controller1.php
venbatechnologies@gmail.com 21a1f94641 visa app
2018-07-27 13:47:26 +05:30

89 lines
2.2 KiB
PHP
Executable File

<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
require APPPATH . '/libraries/BaseController.php';
/**
* Class : Controller1
* Controller1 class to control the Routes.
* @author : V I S A Employee
* @version : 1.1
* @since : Today
*/
class Controller1 extends BaseController
{
/**
* This is default constructor of the class
*/
public function __construct(){
parent::__construct();
}
/**
* Index Page for this controller.
*/
public function index()
{
// $this->load->view('includes/Header', NULL);
// $this->load->view('NewPage1', NULL);
// $this->load->view('includes/Footer', NULL);
$this->loadViews('NewPage1', NULL);
}
/**
* This function used to check the Routes
*/
function Method1()
{
// $this->load->view('includes/Header', NULL);
// $this->load->view('NewPage2', NULL);
// $this->load->view('includes/Footer', NULL);
$this->loadViews('NewPage2', NULL);
}
/**
* This function used to check the Routes
*/
function Method2()
{
// $this->load->view('includes/Header', NULL);
// $this->load->view('NewPage3', NULL);
// $this->load->view('includes/Footer', NULL);
$this->loadViews('NewPage3', NULL);
}
/**
* This function used to check the Routes
*/
function Method3()
{
// $this->load->view('includes/Header', NULL);
// $this->load->view('404', NULL);
// $this->load->view('includes/Footer', NULL);
$this->loadViews('NewPage4', NULL);
}
/**
* This function used to check the Routes
*/
function Method4()
{
// $this->load->view('includes/Header', NULL);
// $this->load->view('access', NULL);
// $this->load->view('includes/Footer', NULL);
$this->loadViews('404', NULL);
}
/**
* This function used to check the Routes
*/
function Method5()
{
// $this->load->view('includes/Header', NULL);
// $this->load->view('NewPage4', NULL);
// $this->load->view('includes/Footer', NULL);
$this->loadViews('access', NULL);
}
}
?>