mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 12:26:39 -04:00
Initial commit
This commit is contained in:
commit
28c8a3f0ba
136 changed files with 13350 additions and 0 deletions
19
lib/Contributor.php
Normal file
19
lib/Contributor.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?
|
||||
class Contributor{
|
||||
public $Name;
|
||||
public $UrlName;
|
||||
public $SortName;
|
||||
public $WikipediaUrl;
|
||||
public $MarcRole;
|
||||
public $FullName;
|
||||
|
||||
public function __construct(string $name, string $sortName = null, string $fullName = null, string $wikipediaUrl = null, string $marcRole = null){
|
||||
$this->Name = str_replace('\'', '’', $name);
|
||||
$this->UrlName = Formatter::MakeUrlSafe($name);
|
||||
$this->SortName = $sortName;
|
||||
$this->FullName = $fullName;
|
||||
$this->WikipediaUrl = $wikipediaUrl;
|
||||
$this->MarcRole = $marcRole;
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue