PHP 8.3.0 RC 6 available for testing

Yaf_Request_Abstract::isXmlHttpRequest

(Yaf >=1.0.0)

Yaf_Request_Abstract::isXmlHttpRequest判断请求是否是 AJAX 请求

说明

public Yaf_Request_Abstract::isXmlHttpRequest(): bool

参数

此函数没有参数。

返回值

boolean

参见

add a note

User Contributed Notes 1 note

up
0
oreaking at gmail dot com
9 years ago
That means the request method is ajax or not .
To Top