mirror of
https://github.com/standardebooks/web.git
synced 2025-07-20 22:33:57 -04:00
Add placeholders for ebooks
This commit is contained in:
parent
cf5f488cae
commit
1ab95df084
52 changed files with 1192 additions and 237 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue