Update wanted ebooks list

This commit is contained in:
Alex Cabal 2024-01-08 16:10:54 -06:00
parent 783c09864f
commit dd8134db6f
5 changed files with 30 additions and 30 deletions

View file

@ -8,13 +8,13 @@ use function Safe\date;
* @property array<string> $_AlternateSpellings * @property array<string> $_AlternateSpellings
*/ */
class Artist extends PropertiesBase{ class Artist extends PropertiesBase{
public ?int $ArtistId; public ?int $ArtistId = null;
public ?string $Name; public ?string $Name = null;
public ?int $DeathYear; public ?int $DeathYear = null;
public ?datetime $Created; public ?datetime $Created = null;
public ?datetime $Updated; public ?datetime $Updated = null;
protected ?string $_UrlName; protected ?string $_UrlName = null;
protected $_AlternateSpellings; protected $_AlternateSpellings;
// ******* // *******
// GETTERS // GETTERS

View file

@ -24,24 +24,24 @@ use function Safe\preg_replace;
* @property array<ArtworkTag> $_Tags * @property array<ArtworkTag> $_Tags
*/ */
class Artwork extends PropertiesBase{ class Artwork extends PropertiesBase{
public ?string $Name; public ?string $Name = null;
public ?int $ArtworkId; public ?int $ArtworkId = null;
public ?int $ArtistId; public ?int $ArtistId = null;
public ?int $CompletedYear; public ?int $CompletedYear = null;
public ?bool $CompletedYearIsCirca; public ?bool $CompletedYearIsCirca = null;
public ?DateTime $Created; public ?DateTime $Created = null;
public ?DateTime $Updated; public ?DateTime $Updated = null;
public ?string $Status; public ?string $Status = null;
public ?string $EbookWwwFilesystemPath; public ?string $EbookWwwFilesystemPath = null;
public ?int $SubmitterUserId; public ?int $SubmitterUserId = null;
public ?int $ReviewerUserId; public ?int $ReviewerUserId = null;
public ?string $MuseumUrl; public ?string $MuseumUrl = null;
public ?int $PublicationYear; public ?int $PublicationYear = null;
public ?string $PublicationYearPageUrl; public ?string $PublicationYearPageUrl = null;
public ?string $CopyrightPageUrl; public ?string $CopyrightPageUrl = null;
public ?string $ArtworkPageUrl; public ?string $ArtworkPageUrl = null;
public ?bool $IsPublishedInUs; public ?bool $IsPublishedInUs = null;
public ?string $Exception; public ?string $Exception = null;
protected ?string $_UrlName = null; protected ?string $_UrlName = null;
protected ?string $_Url = null; protected ?string $_Url = null;
protected $_Tags = null; protected $_Tags = null;

View file

@ -16,7 +16,7 @@ class Museum extends PropertiesBase{
limit 1; limit 1;
', [$url], 'Museum'); ', [$url], 'Museum');
if($result[0] === null){ if(sizeof($result[0]) == 0){
throw new Exceptions\MuseumNotFoundException(); throw new Exceptions\MuseumNotFoundException();
} }

View file

@ -6,5 +6,5 @@ class Tag extends PropertiesBase{
public int $TagId; public int $TagId;
public string $Name; public string $Name;
public string $UrlName; public string $UrlName;
protected ?string $_Url; protected ?string $_Url = null;
} }

View file

@ -102,9 +102,6 @@
<li> <li>
<p><a href="https://www.gutenberg.org/ebooks/16677">The Chink in the Armour</a> by Marie Belloc Lowndes</p> <p><a href="https://www.gutenberg.org/ebooks/16677">The Chink in the Armour</a> by Marie Belloc Lowndes</p>
</li> </li>
<li>
<p><a href="https://www.gutenberg.org/ebooks/1951">The Coming Race</a> by Edward Bulwer-Lytton</p>
</li>
<li> <li>
<p><a href="https://www.gutenberg.org/ebooks/8939">With Edged Tools</a> by Henry Seton Merriman</p> <p><a href="https://www.gutenberg.org/ebooks/8939">With Edged Tools</a> by Henry Seton Merriman</p>
</li> </li>
@ -153,6 +150,9 @@
</ul> </ul>
<h2>Moderate-difficulty productions</h2> <h2>Moderate-difficulty productions</h2>
<ul> <ul>
<li>
<p><a href="https://www.gutenberg.org/ebooks/1951">The Coming Race</a> by Edward Bulwer-Lytton</p>
</li>
<li> <li>
<p><a href="https://www.gutenberg.org/ebooks/4023">Candida</a> by George Bernard Shaw</p><!--patron--> <p><a href="https://www.gutenberg.org/ebooks/4023">Candida</a> by George Bernard Shaw</p><!--patron-->
</li> </li>