forked from leftypol/leftypol
SearchFilters.php: add
This commit is contained in:
parent
c6cec16971
commit
46d5dc0fd4
1 changed files with 32 additions and 0 deletions
32
inc/Data/SearchFilters.php
Normal file
32
inc/Data/SearchFilters.php
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
<?php
|
||||||
|
namespace Vichan\Data;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* POD with the fragments of each filter.
|
||||||
|
*/
|
||||||
|
class SearchFilters {
|
||||||
|
/**
|
||||||
|
* @var array<array<string>>
|
||||||
|
*/
|
||||||
|
public array $body = [];
|
||||||
|
/**
|
||||||
|
* @var array<string>
|
||||||
|
*/
|
||||||
|
public array $subject = [];
|
||||||
|
/**
|
||||||
|
* @var array<string>
|
||||||
|
*/
|
||||||
|
public array $name = [];
|
||||||
|
/**
|
||||||
|
* @var ?string
|
||||||
|
*/
|
||||||
|
public ?string $board = null;
|
||||||
|
/**
|
||||||
|
* @var array<string>
|
||||||
|
*/
|
||||||
|
public array $flag = [];
|
||||||
|
public ?int $id = null;
|
||||||
|
public ?int $thread = null;
|
||||||
|
public float $weight = 0;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue