Compare commits
2 Commits
d98ddded07
...
b374744261
Author | SHA1 | Date | |
---|---|---|---|
b374744261 | |||
c6918c85b3 |
@ -28,8 +28,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();
|
||||
}
|
||||
|
||||
@ -65,8 +65,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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user