Welcome Guest, Not a member yet? Register   Sign In
is_ajax()
#1

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.
Reply
#2

(This post was last modified: 11-21-2016, 11:05 PM by okierie.)

(01-31-2016, 05:14 PM)Tpojka Wrote: 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.

AJAX is an http request. What's your problem?
Reply
#3

No.
Reply
#4

(02-01-2016, 02:16 AM)Narf Wrote: No.

Thanks. Smile
I just thought that first sample is nice way.
Something with not moving AJAX from Input class?
Reply
#5

You could say that, yes.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB