1
0
mirror of https://github.com/suk-ws/ph-Bookshelf.git synced 2025-02-24 23:20:52 +08:00
ph-Bookshelf/src/Data/PageMeta.php

21 lines
449 B
PHP
Raw Normal View History

<?php
require_once "./src/Element/BookContent/BookContented.php";
require_once "./src/Element/BookContent/Page.php";
class PageMeta {
public static BookContented $book;
public static Page $page;
public static bool $isMainPage;
public static function getPageTitle (): string {
return self::$page->getName()." - ".self::$book->getName();
}
public static function getDescription (): string {
return ""; // todo wip description
}
}