Logo white

Administrator / extremepride

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • extremepride
  • shops
  • application
  • controllers
  • controller_get_rayons_json.php
  • init
    8d65d0ce
    andryeyev authored
    2016-01-27 15:54:16 +0200  
    Browse Code ยป
controller_get_rayons_json.php 282 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php
class Controller_Get_Rayons_Json extends Controller
{
	function __construct()
    {
    $this->model = new Model_Get_Rayons_Json();
	}
	
	function action_index()
    {	
		$data = $this->model->get_rayon($_POST['city'],$_POST['rayon']);		
		echo json_encode($data);
    }

}
?>