method getList documentation in bbn\Appui\Profiler
function(array $data)
{
if ($this->check()) {
$c = $this->class_cfg['arch']['bbn_profiler'];
unset($c['content']);
$data['limit'] = isset($data['limit']) && is_int($data['limit']) ? $data['limit'] : 50;
$data['start'] = isset($data['start']) && is_int($data['start']) ? $data['start'] : 0;
$grid = new \bbn\Appui\Grid(
$this->db,
$data,
[
'table' => $this->class_table,
'fields' => $c,
'order' => [[
'field' => 'time',
'dir' => 'DESC'
]]
]
);
if ($grid->check()) {
return $grid->getDatatable(true);
}
}
return null;
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions