meta at hooks

This commit is contained in:
apuc committed 2024-07-31 12:48:26 +03:00
1 parent b7fea4122c
commit d6d703aaa6
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -42,7 +42,7 @@ class ListJsonTable
{
$paramsStr = $this->createParams($this->data['meta']['params']);
$hookBefore = $this->beforePrintHook;
$this->html .= $hookBefore();
$this->html .= $hookBefore($this->data['meta']);
$this->html .= "<table $paramsStr>";
}
@@ -192,7 +192,7 @@ class ListJsonTable
{
$this->html .= "</table>";
$hookAfter = $this->afterPrintHook;
$this->html .= $hookAfter();
$this->html .= $hookAfter($this->data['meta']);
}
public function render(): void