is_ajax() - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: is_ajax() (/showthread.php?tid=64251) |
is_ajax() - Tpojka - 01-31-2016 I noticed in documentation that PHP Code: $this->input->is_cli_request() is aliased with PHP Code: is_cli() function of Common.php file. There is said first one is now deprecated and seems it will be removed from framework. I just wondered is there idea/plan to do that with PHP Code: $this->input->is_ajax_request() too. RE: is_ajax() - okierie - 01-31-2016 (01-31-2016, 05:14 PM)Tpojka Wrote: There is said first one is now deprecated and seems it will be removed from framework. AJAX is an http request. What's your problem? RE: is_ajax() - Narf - 02-01-2016 No. RE: is_ajax() - Tpojka - 02-05-2016 (02-01-2016, 02:16 AM)Narf Wrote: No. Thanks. I just thought that first sample is nice way. Something with not moving AJAX from Input class? RE: is_ajax() - Narf - 02-05-2016 You could say that, yes. |