From c6918c85b3991a3fad94228e3a5b1980e1c0e821 Mon Sep 17 00:00:00 2001 From: stasbilay02 Date: Wed, 7 Aug 2024 14:10:26 +0300 Subject: [PATCH] fix View Jason Table --- src/ViewJsonTable.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ViewJsonTable.php b/src/ViewJsonTable.php index 96cd7b7..2721007 100644 --- a/src/ViewJsonTable.php +++ b/src/ViewJsonTable.php @@ -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 .= ""; - if(isset($this->afterPrintTable)){ - $hookAfter = $this->afterPrintTable; + if(isset($this->afterPrintHook)){ + $hookAfter = $this->afterPrintHook; $this->html .= $hookAfter(); } }