(PECL yaf >=1.0.0)
Yaf_Request_Http::isXmlHttpRequest — Whether a Ajax Request
Check the request whether it is a Ajax Request.
Замечание:
This method depends on the request header: HTTP_X_REQUESTED_WITH, some Javascript library doesn't set this header while doing Ajax request
У этой функции нет параметров.