(Yaf >=1.0.0)
Yaf_Request_Abstract::isXmlHttpRequest — Determine if request is AJAX request
This function has no parameters.
boolean
That means the request method is ajax or not .