Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
b8c3b15d52 | |||
f11d155606 |
@ -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'] ?? '';
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user