2 Commits
Author SHA1 Message Date
apuc b8c3b15d52 fetch table 2025-07-01 13:23:22 +03:00
stasbilay02 f11d155606 fix filter 2024-12-27 14:55:06 +03:00
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ abstract class Filter
public string $value; public string $value;
public function __construct(array $source) public function __construct(array $source)
{ {
$this->params = $source['param'] ?? ''; $this->params = $source['params'] ?? '';
$this->name = $source['name']; $this->name = $source['name'];
$this->value = $source['value'] ?? ''; $this->value = $source['value'] ?? '';
} }
+5
View File
@@ -15,6 +15,11 @@ class JasonTable
echo $this->html; echo $this->html;
} }
public function fetch(): string
{
return $this->html;
}
public function setBeforePrintCell(\Closure $closure): void public function setBeforePrintCell(\Closure $closure): void
{ {
$this->beforePrintCell = $closure; $this->beforePrintCell = $closure;