21 lines
431 B
PHP
21 lines
431 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();
|
|
}
|
|
} |