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
Elgg
Services
AjaxResponse
setData
Elgg\Services\AjaxResponse::setData PHP Method
AjaxResponse Interface Documentation
Show file
Open project: elgg/elgg
setData()
public
method
Set the response data
public
setData
(
stdClass
$data
) :
self
$data
stdClass
Response data. Must be able to be encoded in JSON.
return
self
public function setData(\stdClass $data);
AjaxResponse
cancel
getData
getTtl
isCancelled
setData
setTtl