%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/www/boniface/application/modules/Search/controllers/
Upload File :
Create Path :
Current File : /home/ugotscom/www/boniface/application/modules/Search/controllers/Search.php

<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Search extends CI_Controller {

 function __construct(){
    parent::__construct();

  
      $this->load->model('search_model'); //load model crud_model
  }

	public function index()
	{
	
		$this->load->view('welcome',$data);
	}
	
      public function userList(){
    // POST data
    $postData = $this->input->post();

    // get data
    $data = $this->search_model->getUsers($postData);

    echo json_encode($data);
  }
       public function holidaydestinations(){
    // POST data
    $postData = $this->input->post();

    // get data
    $data = $this->search_model->holidays($postData);

    echo json_encode($data);
  }
}

 

Zerion Mini Shell 1.0