Documentation

sendJsonAnswer

 public static
\Bitrix\Iblock\Component\Base::sendJsonAnswer(
 array $result = array()
);

Method sends response for AJAX query. Static method.

Parameters

ParameterDescriptionVersion
$resultArray with resulting data.

Example



© «Bitrix24», 2001-2024