Files
bx.nullable/lib/Ajax/BxNullable.php
T
2025-03-29 03:35:47 +03:00

19 lines
429 B
PHP

<?php
namespace Bx\Nullable\Ajax;
use Wt\Core\Ajax\AAjaxHandler;
class BxNullable extends AAjaxHandler
{
public function ajaxStart()
{
$this->getResponse()->addData(['method' => 'ajaxStart']);
}
public function test()
{
$this->getResponse()->addData(['method' => 'test', 'version' => app()::getInstance('bx.nullable')->module()->getVersion()]);
return $this->getResponse();
}
}