ok
Direktori : /home2/selectio/public_html/bharath/application/helpers/ |
Current File : /home2/selectio/public_html/bharath/application/helpers/json_output_helper.php |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); function json_output($statusHeader,$response) { $ci =& get_instance(); $ci->output->set_content_type('application/json'); $ci->output->set_status_header($statusHeader); $ci->output->set_output(json_encode($response)); }