if($view == ''){ $view = VIEW_GRID; } $collection = $collection ?? null; $ebooks = $ebooks ?? []; ?>
= Formatter::EscapeHtml($ebook->Title) ?>
if($view == VIEW_GRID){ ?> foreach($ebook->Authors as $author){ ?> } ?> }else{ ?>= rtrim($ebook->ContributorsHtml, '.') ?>
= number_format($ebook->WordCount) ?> words • = $ebook->ReadingEase ?> reading ease