. */ declare(strict_types=1); namespace Fisharebest\Webtrees\CustomTags; use Fisharebest\Webtrees\Contracts\CustomTagInterface; use Fisharebest\Webtrees\Contracts\ElementInterface; use Fisharebest\Webtrees\Elements\AddressWebPage; use Fisharebest\Webtrees\Elements\CustomElement; use Fisharebest\Webtrees\Elements\CustomIndividualEvent; use Fisharebest\Webtrees\Elements\NamePersonal; use Fisharebest\Webtrees\Elements\NoteStructure; use Fisharebest\Webtrees\Elements\RelationIsDescriptor; use Fisharebest\Webtrees\Elements\RestrictionNotice; use Fisharebest\Webtrees\Elements\WebtreesUser; use Fisharebest\Webtrees\Elements\XrefAssociate; use Fisharebest\Webtrees\Elements\XrefMedia; use Fisharebest\Webtrees\I18N; /** * GEDCOM files created by phpGedView * * @see http://www.phpgedview.net */ class PhpGedView implements CustomTagInterface { /** * The name of the application. * * @return string */ public function name(): string { return 'phpGedView'; } /** * Tags created by this application. * * @return array */ public function tags(): array { return [ 'FAM:CHAN:_PGVU' => new WebtreesUser(I18N::translate('Author of last change')), 'FAM:COMM' => new CustomElement(I18N::translate('Comment')), 'INDI:*:ASSO' => new XrefAssociate(I18N::translate('Associate')), 'INDI:*:ASSO:RELA' => new RelationIsDescriptor(I18N::translate('Relationship')), 'INDI:*:PLAC:_HEB' => new NoteStructure(I18N::translate('Place in Hebrew')), 'INDI:BURI:CEME' => new CustomElement(I18N::translate('Cemetery')), 'INDI:CHAN:_PGVU' => new WebtreesUser(I18N::translate('Author of last change')), 'INDI:COMM' => new CustomElement(I18N::translate('Comment')), 'INDI:NAME:_HEB' => new NamePersonal(I18N::translate('Name in Hebrew'), []), 'INDI:_HOL' => new CustomIndividualEvent(I18N::translate('Holocaust')), 'INDI:_PGV_OBJS' => new XrefMedia(I18N::translate('Re-order media')), 'NOTE:CHAN:_PGVU' => new WebtreesUser(I18N::translate('Author of last change')), 'OBJE:CHAN:_PGVU' => new WebtreesUser(I18N::translate('Author of last change')), 'OBJE:_THUM' => new CustomElement(I18N::translate('Thumbnail image')), 'REPO:CHAN:_PGVU' => new WebtreesUser(I18N::translate('Author of last change')), 'SOUR:CHAN:_PGVU' => new WebtreesUser(I18N::translate('Author of last change')), 'SOUR:SERV' => new CustomElement(I18N::translate('Remote server')), 'SOUR:URL' => new AddressWebPage(I18N::translate('URL')), 'SOUR:URL:TYPE' => new CustomElement(I18N::translate('Type')), // e.g. "FamilySearch" 'SOUR:URL:_BLOCK' => new CustomElement(I18N::translate('Block')), // "e.g. "false" 'SOUR:_DBID' => new CustomElement(I18N::translate('Database name')), 'SOUR:_DBID:_PASS' => new CustomElement(I18N::translate('Database password')), 'SOUR:_DBID:_PASS:RESN' => new RestrictionNotice(I18N::translate('Restriction')), 'SOUR:_DBID:_USER' => new CustomElement(I18N::translate('Database user account')), ]; } }