19 lines
410 B
PHP
19 lines
410 B
PHP
<?php
|
|
|
|
namespace Itguild\Tables\Filter;
|
|
|
|
abstract class Filter
|
|
{
|
|
public string $html = '';
|
|
public string|array $param;
|
|
public string $name;
|
|
public string $value;
|
|
public function __construct(array $source)
|
|
{
|
|
$this->param = $source['param'] ?? '';
|
|
$this->name = $source['name'];
|
|
$this->value = $source['value'] ?? '';
|
|
}
|
|
|
|
abstract public function fetch();
|
|
} |