mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-30 22:59:28 +02:00
$ui->display will show json for api
This commit is contained in:
parent
254fd4ccf7
commit
5161874cf2
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue