fix View Jason Table

This commit is contained in:
Билай Станислав 2024-08-07 14:10:26 +03:00
parent 71b2fdfb6b
commit c6918c85b3

View File

@ -23,8 +23,8 @@ class ViewJsonTable extends JasonTable
$paramsStr = $this->createParams($this->data['meta']['params']);
//Хук перед выводом ячейки
if (isset($this->beforePrintTable)){
$hook = $this->beforePrintTable;
if (isset($this->beforePrintHook)){
$hook = $this->beforePrintHook;
$this->html = $hook();
}
@ -60,8 +60,8 @@ class ViewJsonTable extends JasonTable
{
$this->html .= "</table>";
if(isset($this->afterPrintTable)){
$hookAfter = $this->afterPrintTable;
if(isset($this->afterPrintHook)){
$hookAfter = $this->afterPrintHook;
$this->html .= $hookAfter();
}
}