This commit is contained in:
2024-08-07 11:56:33 +03:00
parent 71b2fdfb6b
commit 4a12eeccfd
2 changed files with 9 additions and 4 deletions

View File

@ -13,9 +13,14 @@ class ViewJsonTable extends JasonTable
private array $dataJson;
public function __construct($json)
{
$this->beforePrintCell = false;
$this->json = $json;
$this->data = json_decode($this->json, true);
$this->dataJson = $this->data['data'];
$this->beforePrintHook = function () {
};
$this->afterPrintHook = function () {
};
}
public function beginTable(): void