This commit is contained in:
2024-07-07 12:39:20 +03:00
parent 67484d79f9
commit d8b103fe33
29 changed files with 156 additions and 128 deletions
@@ -1,12 +1,12 @@
<?php
namespace Bx\Null\Ajax;
namespace Bx\Nullable\Ajax;
use Wt\Core\Ajax\AAjaxHandler;
class BxNull extends AAjaxHandler
class BxNullable extends AAjaxHandler
{
public function ajaxStart()
{
@@ -15,7 +15,7 @@ class BxNull extends AAjaxHandler
public function test()
{
$this->getResponse()->addData(['method' => 'test', 'version' => nullApp()->module()->getVersion()]);
$this->getResponse()->addData(['method' => 'test', 'version' => app()::getInstance('bx.nullable')->module()->getVersion()]);
return $this->getResponse();
}
}