mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2025-09-14 05:13:46 +02:00
The PR is a huge refactor of all Reflect and Vegvisir code. I've merged the API and "Front-end" codebases together into the same root, this will allow for both Reflect and Vegvisir to use the same resources. Not only that, but I've also added proper database modeling with actual OOP inheritance for database tables. Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/23
24 lines
No EOL
355 B
PHP
24 lines
No EOL
355 B
PHP
<?php
|
|
|
|
namespace VLW\Database\Tables\Search;
|
|
|
|
use vlw\xEnum;
|
|
|
|
enum SearchCategoryEnum {
|
|
use xEnum;
|
|
|
|
case WORK;
|
|
}
|
|
|
|
enum SearchTable: string {
|
|
use xEnum;
|
|
|
|
const NAME = "search";
|
|
|
|
case QUERY = "query";
|
|
case ID = "id";
|
|
case TITLE = "title";
|
|
case SUMMARY = "summary";
|
|
case CATEGORY = "category";
|
|
case HREF = "href";
|
|
} |