mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 18:11:52 -04:00
Add placeholders for ebooks
This commit is contained in:
parent
cf5f488cae
commit
1ab95df084
52 changed files with 1192 additions and 237 deletions
|
@ -106,6 +106,10 @@ function CreateZip(string $filePath, array $ebooks, string $type, string $webRoo
|
|||
|
||||
// Iterate over all ebooks and arrange them by publication month.
|
||||
foreach(Ebook::GetAll() as $ebook){
|
||||
if($ebook->IsPlaceholder()){
|
||||
continue;
|
||||
}
|
||||
|
||||
$timestamp = $ebook->EbookCreated->format('Y-m');
|
||||
$updatedTimestamp = $ebook->EbookUpdated->getTimestamp();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue