$ui->display will show json for api
This commit is contained in:
parent
254fd4ccf7
commit
5161874cf2
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user