Files
bx.nullable/lib/ajax/bxnull.php
T
2024-05-20 14:20:22 +03:00

21 lines
399 B
PHP

<?php
namespace Bx\Null\Ajax;
use Wt\Core\Ajax\AAjaxHandler;
class BxNull extends AAjaxHandler
{
public function ajaxStart()
{
$this->getResponse()->addData(['method' => 'ajaxStart']);
}
public function test()
{
$this->getResponse()->addData(['method' => 'test', 'version' => nullApp()->module()->getVersion()]);
return $this->getResponse();
}
}