mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
20 lines
481 B
PHP
20 lines
481 B
PHP
<?
|
|
class OpdsNavigationEntry{
|
|
public $Id;
|
|
public $Url;
|
|
public $Rel;
|
|
public $Type;
|
|
public $Updated;
|
|
public $Description;
|
|
public $Title;
|
|
|
|
public function __construct(string $url, string $rel, string $type, ?DateTime $updated, string $title, string $description){
|
|
$this->Id = 'https://standardebooks.org' . $url;
|
|
$this->Url = $url;
|
|
$this->Rel = $rel;
|
|
$this->Type = $type;
|
|
$this->Updated = $updated;
|
|
$this->Title = $title;
|
|
$this->Description = $description;
|
|
}
|
|
}
|