Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ManaPHP
Http
RequestInterface
isAjax
ManaPHP\Http\RequestInterface::isAjax PHP Method
RequestInterface Interface Documentation
Show file
Open project: manaphp/manaphp
isAjax()
public
method
Checks whether request has been made using ajax. Checks if $_SERVER['HTTP_X_REQUESTED_WITH']=='XMLHttpRequest'
public
isAjax
( ) :
boolean
return
boolean
public function isAjax();
RequestInterface
get
getAccessToken
getClientAddress
getFiles
getGet
getHeader
getJsonBody
getMethod
getPost
getPut
getQuery
getRawBody
getReferer
getScheme
getServer
getUri
getUrl
getUserAgent
has
hasFiles
hasGet
hasPost
hasPut
hasQuery
hasServer
isAjax
isDelete
isGet
isHead
isOptions
isPatch
isPost
isPut
setClientAddress