Files
bx.discount/lib/Ajax/BxDiscount.php
T
2026-02-05 16:22:55 +03:00

19 lines
409 B
PHP

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