Compare commits

..

2 Commits

View File

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