$ui->display will show json for api

This commit is contained in:
Ibnu Maksum 2024-04-01 13:48:58 +07:00
parent 254fd4ccf7
commit 5161874cf2
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -25,6 +25,8 @@ $ui = new class($key)
var $assign = []; var $assign = [];
function display($key) function display($key)
{ {
global $req;
showResult(true, $req, $this->getAll());
} }
function assign($key, $value) function assign($key, $value)
{ {