PHP 5.6.0beta1 released

Yaf_Request_Http::isXmlHttpRequest

(Yaf >=1.0.0)

Yaf_Request_Http::isXmlHttpRequestWhether a Ajax Request

Descrição

public bool Yaf_Request_Http::isXmlHttpRequest ( void )

Check the request whether it is a Ajax Request.

Nota:

This method depends on the request header: HTTP_X_REQUESTED_WITH, some Javascript library doesn't set this header while doing Ajax request

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top