controller_get_shops.php 241 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_Shops extends Controller { function __construct() { $this->model = new Model_Get_Shops(); } function action_index() { $data = $this->model->get_shops(); echo json_encode($data); } } ?>