public function getHeightForLinks() {
return $this->getHeight() / $this->getLinkScale();
}
+
+
+ public function isSinglePage(): bool {
+ // TODO: Implement isSinglePage() method.
+ }
+
+ public function isDoublePage(): bool {
+ // TODO: Implement isDoublePage() method.
+ }
+
+ public function getPageNumber(): int {
+ return (int)$this->config->pages;
+ }
}
public function addPDFJS($force = false);
public function addSEOArticle($page, $title, $intro, $image, $id = null, $url = null, $content = '');
+
+ public function getPageNumber(): int;
}
public function isDoublePage(): bool {
return !$this->isSinglePage();
}
+
+ public function getPageNumber(): int {
+ // TODO: Implement getPageNumber() method.
+ }
}
null, $extractOptions, $cache);
if (!file_exists($rightfile)) {
- die('Error generating right part ' . $rightfile);
+ throw new \Exception('Error generating right part ' . $rightfile);
}
$both = $cache . hash('sha256', $leftfile . $rightfile) . '.jpg';