Add placeholders for ebooks

This commit is contained in:
Mike Colagrosso 2024-12-13 11:45:14 -06:00 committed by Alex Cabal
parent cf5f488cae
commit 1ab95df084
52 changed files with 1192 additions and 237 deletions

View file

@ -41,6 +41,28 @@ class Contributor{
// METHODS
// *******
/**
* @return array<Contributor>
*/
public static function GetAllAuthorNames(): array{
return Db::Query('
SELECT DISTINCT Name
from Contributors
where MarcRole = "aut"
order by Name asc', [], Contributor::class);
}
/**
* @return array<Contributor>
*/
public static function GetAllTranslatorNames(): array{
return Db::Query('
SELECT DISTINCT Name
from Contributors
where MarcRole = "trl"
order by Name asc', [], Contributor::class);
}
/**
* @throws Exceptions\ValidationException
*/