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
*/
class Artist extends PropertiesBase{
public ?int $ArtistId;
public ?string $Name;
public ?int $DeathYear;
public ?datetime $Created;
public ?datetime $Updated;
protected ?string $_UrlName;
protected $_AlternateSpellings;
public ?int $ArtistId = null;
public ?string $Name = null;
public ?int $DeathYear = null;
public ?datetime $Created = null;
public ?datetime $Updated = null;
protected ?string $_UrlName = null;
protected $_AlternateSpellings;
// *******
// GETTERS

View file

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

View file

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

View file

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

View file

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