mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 04:16:38 -04:00
Add search ability to OPDS feed
This commit is contained in:
parent
c6988a87d7
commit
86f3adca36
7 changed files with 94 additions and 6 deletions
|
@ -6,13 +6,15 @@ class Contributor{
|
|||
public $WikipediaUrl;
|
||||
public $MarcRole;
|
||||
public $FullName;
|
||||
public $NacoafUrl;
|
||||
|
||||
public function __construct(string $name, string $sortName = null, string $fullName = null, string $wikipediaUrl = null, string $marcRole = null){
|
||||
public function __construct(string $name, string $sortName = null, string $fullName = null, string $wikipediaUrl = null, string $marcRole = null, string $nacoafUrl = null){
|
||||
$this->Name = str_replace('\'', '’', $name);
|
||||
$this->UrlName = Formatter::MakeUrlSafe($name);
|
||||
$this->SortName = $sortName;
|
||||
$this->FullName = $fullName;
|
||||
$this->WikipediaUrl = $wikipediaUrl;
|
||||
$this->MarcRole = $marcRole;
|
||||
$this->NacoafUrl = $nacoafUrl;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue