Solar_Request::isXhr()

public bool Solar_Request::isXhr ( void )

Is this an XmlHttpRequest?

Parameters

  • None.

Returns

  • (bool)

Description

Is this an XmlHttpRequest?

Checks if the X-Requested-With HTTP header is XMLHttpRequest. Generally used in addition to the isPost(), isGet(), etc. methods to identify Ajax-style HTTP requests.



Local