summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-11-08 14:42:09 +0000
committerGreg Roach <fisharebest@gmail.com>2014-11-08 14:42:09 +0000
commite042cbdedd96d9405b2d971652a70580dda342e7 (patch)
tree258eefb98c7529d56ac2fb722c14f5dcca202937
parentcca009d081da0ce17b14ea0464361b4729914303 (diff)
downloadwebtrees-e042cbdedd96d9405b2d971652a70580dda342e7.tar.gz
webtrees-e042cbdedd96d9405b2d971652a70580dda342e7.tar.bz2
webtrees-e042cbdedd96d9405b2d971652a70580dda342e7.zip
PHPDoc
-rw-r--r--addmedia.php2
-rw-r--r--admin_media_upload.php2
-rw-r--r--admin_site_clean.php2
-rw-r--r--admin_site_info.php2
-rw-r--r--admin_site_merge.php2
-rw-r--r--admin_site_other.php2
-rw-r--r--admin_trees_config.php2
-rw-r--r--admin_trees_download.php2
-rw-r--r--admin_users.php2
-rw-r--r--admin_users_bulk.php2
-rw-r--r--ancestry.php2
-rw-r--r--branches.php2
-rw-r--r--calendar.php2
-rw-r--r--compact.php2
-rw-r--r--descendancy.php2
-rw-r--r--edit_changes.php2
-rw-r--r--edit_interface.php2
-rw-r--r--edituser.php2
-rw-r--r--family.php2
-rw-r--r--familybook.php2
-rw-r--r--famlist.php2
-rw-r--r--fanchart.php2
-rw-r--r--find.php2
-rw-r--r--hourglass.php2
-rw-r--r--includes/functions/functions.php2
-rw-r--r--includes/functions/functions_charts.php2
-rw-r--r--includes/functions/functions_date.php2
-rw-r--r--includes/functions/functions_db.php2
-rw-r--r--includes/functions/functions_edit.php2
-rw-r--r--includes/functions/functions_export.php2
-rw-r--r--includes/functions/functions_import.php2
-rw-r--r--includes/functions/functions_mediadb.php2
-rw-r--r--includes/functions/functions_print.php2
-rw-r--r--includes/functions/functions_print_facts.php2
-rw-r--r--includes/functions/functions_print_lists.php2
-rw-r--r--includes/functions/functions_rtl.php2
-rw-r--r--includes/hitcount.php2
-rw-r--r--includes/reportheader.php2
-rw-r--r--includes/session.php2
-rw-r--r--index.php2
-rw-r--r--index_edit.php2
-rw-r--r--indilist.php2
-rw-r--r--individual.php2
-rw-r--r--inverselink.php2
-rw-r--r--js/webtrees-1.6.0.js2
-rw-r--r--library/WT/Controller/AdvancedSearch.php61
-rw-r--r--library/WT/Controller/Ajax.php11
-rw-r--r--library/WT/Controller/Ancestry.php8
-rw-r--r--library/WT/Controller/Base.php13
-rw-r--r--library/WT/Controller/Branches.php8
-rw-r--r--library/WT/Controller/Chart.php11
-rw-r--r--library/WT/Controller/Compact.php19
-rw-r--r--library/WT/Controller/Descendancy.php9
-rw-r--r--library/WT/Controller/Family.php41
-rw-r--r--library/WT/Controller/Familybook.php8
-rw-r--r--library/WT/Controller/GedcomRecord.php8
-rw-r--r--library/WT/Controller/Hourglass.php10
-rw-r--r--library/WT/Controller/Individual.php42
-rw-r--r--library/WT/Controller/Lifespan.php8
-rw-r--r--library/WT/Controller/Media.php9
-rw-r--r--library/WT/Controller/Note.php8
-rw-r--r--library/WT/Controller/Pedigree.php8
-rw-r--r--library/WT/Controller/Repository.php8
-rw-r--r--library/WT/Controller/Search.php11
-rw-r--r--library/WT/Controller/Simple.php5
-rw-r--r--library/WT/Controller/Source.php8
-rw-r--r--library/WT/Controller/Timeline.php17
-rw-r--r--library/WT/DB.php24
-rw-r--r--library/WT/Date/Calendar.php24
-rw-r--r--library/WT/Date/French.php11
-rw-r--r--library/WT/Date/Gregorian.php11
-rw-r--r--library/WT/Date/Hijri.php14
-rw-r--r--library/WT/Date/Jalali.php11
-rw-r--r--library/WT/Date/Jewish.php11
-rw-r--r--library/WT/Date/Julian.php13
-rw-r--r--library/WT/Date/Roman.php18
-rw-r--r--library/WT/Fact.php5
-rw-r--r--library/WT/Family.php5
-rw-r--r--library/WT/File.php5
-rw-r--r--library/WT/FlashMessages.php7
-rw-r--r--library/WT/Gedcom/Code/Adop.php5
-rw-r--r--library/WT/Gedcom/Code/Name.php5
-rw-r--r--library/WT/Gedcom/Code/Pedi.php5
-rw-r--r--library/WT/Gedcom/Code/Quay.php5
-rw-r--r--library/WT/Gedcom/Code/Rela.php5
-rw-r--r--library/WT/Gedcom/Code/Stat.php5
-rw-r--r--library/WT/Gedcom/Code/Temp.php5
-rw-r--r--library/WT/Gedcom/Tag.php5
-rw-r--r--library/WT/GedcomRecord.php5
-rw-r--r--library/WT/Individual.php5
-rw-r--r--library/WT/Mail.php5
-rw-r--r--library/WT/Media.php10
-rw-r--r--library/WT/Menu.php5
-rw-r--r--library/WT/MenuBar.php38
-rw-r--r--library/WT/Module/Block.php5
-rw-r--r--library/WT/Module/Chart.php8
-rw-r--r--library/WT/Module/Config.php5
-rw-r--r--library/WT/Module/Menu.php5
-rw-r--r--library/WT/Module/Report.php5
-rw-r--r--library/WT/Module/Sidebar.php5
-rw-r--r--library/WT/Module/Tab.php5
-rw-r--r--library/WT/Module/Theme.php8
-rw-r--r--library/WT/Note.php5
-rw-r--r--library/WT/Place.php98
-rw-r--r--library/WT/Report/Base_Cell.php8
-rw-r--r--library/WT/Report/Base_Element.php8
-rw-r--r--library/WT/Report/Base_Footnote.php8
-rw-r--r--library/WT/Report/Base_Html.php8
-rw-r--r--library/WT/Report/Base_Image.php8
-rw-r--r--library/WT/Report/Base_Line.php8
-rw-r--r--library/WT/Report/Base_PageHeader.php8
-rw-r--r--library/WT/Report/Base_Text.php8
-rw-r--r--library/WT/Report/Base_TextBox.php8
-rw-r--r--library/WT/Report/HTML_Cell.php8
-rw-r--r--library/WT/Report/HTML_Html.php8
-rw-r--r--library/WT/Report/HTML_Line.php8
-rw-r--r--library/WT/Report/HTML_Text.php8
-rw-r--r--library/WT/Report/HTML_TextBox.php8
-rw-r--r--library/WT/Report/PDF_Cell.php9
-rw-r--r--library/WT/Report/PDF_Footnote.php8
-rw-r--r--library/WT/Report/PDF_Html.php8
-rw-r--r--library/WT/Report/PDF_Line.php8
-rw-r--r--library/WT/Report/PDF_Text.php8
-rw-r--r--library/WT/Report/PDF_TextBox.php8
-rw-r--r--library/WT/Repository.php5
-rw-r--r--library/WT/Source.php5
-rw-r--r--library/WT/Tree.php24
-rw-r--r--lifespan.php2
-rw-r--r--login.php2
-rw-r--r--mediafirewall.php2
-rw-r--r--medialist.php2
-rw-r--r--mediaviewer.php2
-rw-r--r--module.php2
-rw-r--r--modules_v3/GEDFact_assistant/CENS_ctrl.php2
-rw-r--r--modules_v3/GEDFact_assistant/MEDIA_ctrl.php2
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php2
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/census_1_ctrl.php2
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/census_2_source_input.php2
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/census_3_find.php2
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php2
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/census_4_text.php2
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/census_5_input.php2
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/js/census_5_input.js.php2
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/js/chapman_codes.js2
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/js/date.js2
-rw-r--r--modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php2
-rw-r--r--modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php2
-rw-r--r--modules_v3/clippings/clippings_ctrl.php2
-rw-r--r--note.php2
-rw-r--r--notelist.php2
-rw-r--r--pedigree.php2
-rw-r--r--relationship.php2
-rw-r--r--repo.php2
-rw-r--r--repolist.php2
-rw-r--r--reportengine.php2
-rw-r--r--search.php2
-rw-r--r--source.php2
-rw-r--r--sourcelist.php2
-rw-r--r--statistics.php2
-rw-r--r--statisticsplot.php2
-rw-r--r--themes/_administration/theme.php2
-rw-r--r--themes/clouds/css-1.6.0/style.css2
-rw-r--r--themes/clouds/footer.php2
-rw-r--r--themes/clouds/header.php2
-rw-r--r--themes/clouds/templates/block_main_temp.php2
-rw-r--r--themes/clouds/templates/block_small_temp.php2
-rw-r--r--themes/clouds/templates/compactbox_template.php2
-rw-r--r--themes/clouds/theme.php2
-rw-r--r--themes/colors/css-1.6.0/css/aquamarine.css2
-rw-r--r--themes/colors/css-1.6.0/css/ash.css2
-rw-r--r--themes/colors/css-1.6.0/css/belgianchocolate.css2
-rw-r--r--themes/colors/css-1.6.0/css/bluelagoon.css2
-rw-r--r--themes/colors/css-1.6.0/css/bluemarine.css2
-rw-r--r--themes/colors/css-1.6.0/css/coffeeandcream.css2
-rw-r--r--themes/colors/css-1.6.0/css/coldday.css2
-rw-r--r--themes/colors/css-1.6.0/css/colors.css2
-rw-r--r--themes/colors/css-1.6.0/css/greenbeam.css2
-rw-r--r--themes/colors/css-1.6.0/css/mediterranio.css2
-rw-r--r--themes/colors/css-1.6.0/css/mercury.css2
-rw-r--r--themes/colors/css-1.6.0/css/nocturnal.css2
-rw-r--r--themes/colors/css-1.6.0/css/olivia.css2
-rw-r--r--themes/colors/css-1.6.0/css/pinkplastic.css2
-rw-r--r--themes/colors/css-1.6.0/css/sage.css2
-rw-r--r--themes/colors/css-1.6.0/css/shinytomato.css2
-rw-r--r--themes/colors/css-1.6.0/css/tealtop.css2
-rw-r--r--themes/colors/footer.php2
-rw-r--r--themes/colors/header.php2
-rw-r--r--themes/colors/templates/block_main_temp.php2
-rw-r--r--themes/colors/templates/block_small_temp.php2
-rw-r--r--themes/colors/templates/compactbox_template.php2
-rw-r--r--themes/colors/theme.php2
-rw-r--r--themes/fab/templates/compactbox_template.php2
-rw-r--r--themes/minimal/css-1.6.0/style.css2
-rw-r--r--themes/minimal/footer.php2
-rw-r--r--themes/minimal/header.php2
-rw-r--r--themes/minimal/templates/block_main_temp.php2
-rw-r--r--themes/minimal/templates/block_small_temp.php2
-rw-r--r--themes/minimal/templates/compactbox_template.php2
-rw-r--r--themes/minimal/theme.php2
-rw-r--r--themes/webtrees/css-1.6.0/style.css2
-rw-r--r--themes/webtrees/footer.php2
-rw-r--r--themes/webtrees/header.php2
-rw-r--r--themes/webtrees/templates/block_main_temp.php2
-rw-r--r--themes/webtrees/templates/block_small_temp.php2
-rw-r--r--themes/webtrees/templates/compactbox_template.php2
-rw-r--r--themes/webtrees/theme.php2
-rw-r--r--themes/xenea/css-1.6.0/style.css2
-rw-r--r--themes/xenea/footer.php2
-rw-r--r--themes/xenea/header.php2
-rw-r--r--themes/xenea/templates/block_main_temp.php2
-rw-r--r--themes/xenea/templates/block_small_temp.php2
-rw-r--r--themes/xenea/templates/compactbox_template.php2
-rw-r--r--themes/xenea/theme.php2
-rw-r--r--timeline.php2
214 files changed, 763 insertions, 443 deletions
diff --git a/addmedia.php b/addmedia.php
index 37097669a8..57b874dbea 100644
--- a/addmedia.php
+++ b/addmedia.php
@@ -6,7 +6,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/admin_media_upload.php b/admin_media_upload.php
index 29d0126338..e9164d7ef7 100644
--- a/admin_media_upload.php
+++ b/admin_media_upload.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/admin_site_clean.php b/admin_site_clean.php
index 831d6fb7d1..61d73d165e 100644
--- a/admin_site_clean.php
+++ b/admin_site_clean.php
@@ -3,7 +3,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/admin_site_info.php b/admin_site_info.php
index 1e9677bab2..f6d8c10681 100644
--- a/admin_site_info.php
+++ b/admin_site_info.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/admin_site_merge.php b/admin_site_merge.php
index 385b12d89d..381d983fe5 100644
--- a/admin_site_merge.php
+++ b/admin_site_merge.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/admin_site_other.php b/admin_site_other.php
index 7dbca56f92..f99bcabea3 100644
--- a/admin_site_other.php
+++ b/admin_site_other.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Partly Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/admin_trees_config.php b/admin_trees_config.php
index 08a4a76734..458ed0be6b 100644
--- a/admin_trees_config.php
+++ b/admin_trees_config.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/admin_trees_download.php b/admin_trees_download.php
index c4252241e9..b3cbe2fef8 100644
--- a/admin_trees_download.php
+++ b/admin_trees_download.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/admin_users.php b/admin_users.php
index bd9360d0df..d24cb00120 100644
--- a/admin_users.php
+++ b/admin_users.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/admin_users_bulk.php b/admin_users_bulk.php
index 853f3ac4f2..9bef76b0ef 100644
--- a/admin_users_bulk.php
+++ b/admin_users_bulk.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// Modifications Copyright (c) 2010 Greg Roach
//
diff --git a/ancestry.php b/ancestry.php
index 3f918e8dc1..6900d7e003 100644
--- a/ancestry.php
+++ b/ancestry.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/branches.php b/branches.php
index 3fbbd4b9fb..9ba6c1e0f0 100644
--- a/branches.php
+++ b/branches.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/calendar.php b/calendar.php
index 0ae5e49f0d..61994008a8 100644
--- a/calendar.php
+++ b/calendar.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/compact.php b/compact.php
index 694fd2d8ed..4042b75bbb 100644
--- a/compact.php
+++ b/compact.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/descendancy.php b/descendancy.php
index f431ad7f9e..a5ea08c23d 100644
--- a/descendancy.php
+++ b/descendancy.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/edit_changes.php b/edit_changes.php
index b2de7981d6..d1fc69e5bf 100644
--- a/edit_changes.php
+++ b/edit_changes.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/edit_interface.php b/edit_interface.php
index 532887bb1d..5560762f29 100644
--- a/edit_interface.php
+++ b/edit_interface.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/edituser.php b/edituser.php
index fe1d6a9a97..01c0755eb2 100644
--- a/edituser.php
+++ b/edituser.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/family.php b/family.php
index 11a458546c..ec8c405ff2 100644
--- a/family.php
+++ b/family.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/familybook.php b/familybook.php
index 5295f9d02f..e33e196c47 100644
--- a/familybook.php
+++ b/familybook.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/famlist.php b/famlist.php
index 30801783be..8745f5dbbe 100644
--- a/famlist.php
+++ b/famlist.php
@@ -8,7 +8,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/fanchart.php b/fanchart.php
index 82fd9bddaf..087bc89e54 100644
--- a/fanchart.php
+++ b/fanchart.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/find.php b/find.php
index 5d8488ab9c..3e27ca130f 100644
--- a/find.php
+++ b/find.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/hourglass.php b/hourglass.php
index 14044cd053..4d7f9f21fc 100644
--- a/hourglass.php
+++ b/hourglass.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions.php b/includes/functions/functions.php
index 204c175285..a699cc68bb 100644
--- a/includes/functions/functions.php
+++ b/includes/functions/functions.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions_charts.php b/includes/functions/functions_charts.php
index 995fc2eed5..23174b5b67 100644
--- a/includes/functions/functions_charts.php
+++ b/includes/functions/functions_charts.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions_date.php b/includes/functions/functions_date.php
index 11d7a9117f..6c1284b0ef 100644
--- a/includes/functions/functions_date.php
+++ b/includes/functions/functions_date.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions_db.php b/includes/functions/functions_db.php
index dfae94efd0..1b0a084d13 100644
--- a/includes/functions/functions_db.php
+++ b/includes/functions/functions_db.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions_edit.php b/includes/functions/functions_edit.php
index 17f65bf74b..a13f9b7432 100644
--- a/includes/functions/functions_edit.php
+++ b/includes/functions/functions_edit.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions_export.php b/includes/functions/functions_export.php
index b2eaed889f..269e70f09c 100644
--- a/includes/functions/functions_export.php
+++ b/includes/functions/functions_export.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions_import.php b/includes/functions/functions_import.php
index f831093178..a0f53f21ea 100644
--- a/includes/functions/functions_import.php
+++ b/includes/functions/functions_import.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions_mediadb.php b/includes/functions/functions_mediadb.php
index e817966acb..7d6d82cae7 100644
--- a/includes/functions/functions_mediadb.php
+++ b/includes/functions/functions_mediadb.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php
index 95a1545773..06a61e9dbc 100644
--- a/includes/functions/functions_print.php
+++ b/includes/functions/functions_print.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions_print_facts.php b/includes/functions/functions_print_facts.php
index 50f6f68929..2e63a83f26 100644
--- a/includes/functions/functions_print_facts.php
+++ b/includes/functions/functions_print_facts.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions_print_lists.php b/includes/functions/functions_print_lists.php
index 81472d814c..206d33ffce 100644
--- a/includes/functions/functions_print_lists.php
+++ b/includes/functions/functions_print_lists.php
@@ -8,7 +8,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/functions/functions_rtl.php b/includes/functions/functions_rtl.php
index 36cd9c421d..1c57543edc 100644
--- a/includes/functions/functions_rtl.php
+++ b/includes/functions/functions_rtl.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/hitcount.php b/includes/hitcount.php
index 463c9ebd11..12065227a2 100644
--- a/includes/hitcount.php
+++ b/includes/hitcount.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/reportheader.php b/includes/reportheader.php
index 0f6f355f42..cbb7d4ea9b 100644
--- a/includes/reportheader.php
+++ b/includes/reportheader.php
@@ -6,7 +6,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/includes/session.php b/includes/session.php
index 500e36a333..09bed00796 100644
--- a/includes/session.php
+++ b/includes/session.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2011 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2011 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/index.php b/index.php
index 7d13f4bea3..2d1bdf742d 100644
--- a/index.php
+++ b/index.php
@@ -6,7 +6,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/index_edit.php b/index_edit.php
index cc51e76ede..dc2db401f2 100644
--- a/index_edit.php
+++ b/index_edit.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/indilist.php b/indilist.php
index f6b063087b..b1418d0d4a 100644
--- a/indilist.php
+++ b/indilist.php
@@ -8,7 +8,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/individual.php b/individual.php
index 7dd3243f0d..ce5a31f2b0 100644
--- a/individual.php
+++ b/individual.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2011 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2011 PGV Development Team.
//
// Sidebar controls courtesy of http://devheart.org/articles/jquery-collapsible-sidebar-layout/
//
diff --git a/inverselink.php b/inverselink.php
index 0afcc40dbe..d57022550c 100644
--- a/inverselink.php
+++ b/inverselink.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/js/webtrees-1.6.0.js b/js/webtrees-1.6.0.js
index b2f507a8a5..82a545eaaf 100644
--- a/js/webtrees-1.6.0.js
+++ b/js/webtrees-1.6.0.js
@@ -4,7 +4,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/library/WT/Controller/AdvancedSearch.php b/library/WT/Controller/AdvancedSearch.php
index 577ea854ae..d5ceaeaa07 100644
--- a/library/WT/Controller/AdvancedSearch.php
+++ b/library/WT/Controller/AdvancedSearch.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the advanced search page
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,12 +19,18 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_AdvancedSearch - Controller for the advanced search page
+ */
class WT_Controller_AdvancedSearch extends WT_Controller_Search {
var $fields = array();
var $values = array();
var $plusminus = array();
var $errors = array();
+ /**
+ * Startup activity
+ */
function __construct() {
parent::__construct();
@@ -67,6 +71,11 @@ class WT_Controller_AdvancedSearch extends WT_Controller_Search {
}
}
+ /**
+ * A list of additional fields that can be added.
+ *
+ * @return string[]
+ */
function getOtherFields() {
global $WT_TREE;
@@ -133,6 +142,14 @@ class WT_Controller_AdvancedSearch extends WT_Controller_Search {
return $fields;
}
+ /**
+ * Compare two tags, for sorting
+ *
+ * @param string $x
+ * @param string $y
+ *
+ * @return int
+ */
public static function tagSort($x, $y) {
list($x1)=explode(':', $x.':');
list($y1)=explode(':', $y.':');
@@ -144,26 +161,52 @@ class WT_Controller_AdvancedSearch extends WT_Controller_Search {
}
}
+ /**
+ * @param integer $i
+ *
+ * @return string
+ */
function getValue($i) {
- $val = "";
+ $val = '';
if (isset($this->values[$i])) $val = $this->values[$i];
return $val;
}
+ /**
+ * @param integer $i
+ *
+ * @return string
+ */
function getField($i) {
- $val = "";
- if (isset($this->fields[$i])) $val = htmlentities($this->fields[$i]);
+ $val = '';
+ if (isset($this->fields[$i])) {
+ $val = htmlentities($this->fields[$i]);
+ }
+
return $val;
}
+ /**
+ * @param string $field
+ *
+ * @return integer
+ */
function getIndex($field) {
return array_search($field, $this->fields);
}
+ /**
+ * @param string $tag
+ *
+ * @return string
+ */
function getLabel($tag) {
return WT_Gedcom_Tag::getLabel(preg_replace('/:(SDX|BEGINS|EXACT|CONTAINS)$/', '', $tag));
}
+ /**
+ * Set the field order
+ */
function reorderFields() {
$i = 0;
$newfields = array();
@@ -189,6 +232,11 @@ class WT_Controller_AdvancedSearch extends WT_Controller_Search {
}
}
+ /**
+ * Perform the search
+ *
+ * @return void
+ */
function advancedSearch() {
$this->myindilist = array ();
$fct = count($this->fields);
@@ -575,6 +623,9 @@ class WT_Controller_AdvancedSearch extends WT_Controller_Search {
}
}
+ /**
+ * @return bool
+ */
function printResults() {
require_once WT_ROOT.'includes/functions/functions_print_lists.php';
if ($this->myindilist) {
diff --git a/library/WT/Controller/Ajax.php b/library/WT/Controller/Ajax.php
index 6654b72162..5f3309f43e 100644
--- a/library/WT/Controller/Ajax.php
+++ b/library/WT/Controller/Ajax.php
@@ -18,6 +18,17 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_Ajax
+ */
+
+/**
+ * Class WT_Controller_Ajax
+ */
+
+/**
+ * Class WT_Controller_Ajax
+ */
class WT_Controller_Ajax extends WT_Controller_Base {
/**
diff --git a/library/WT/Controller/Ancestry.php b/library/WT/Controller/Ancestry.php
index 2197e8d6ed..060de274c3 100644
--- a/library/WT/Controller/Ancestry.php
+++ b/library/WT/Controller/Ancestry.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the ancestry chart
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_Ancestry - Controller for the ancestry chart
+ */
class WT_Controller_Ancestry extends WT_Controller_Chart {
var $pid = '';
var $user = false;
@@ -33,6 +34,9 @@ class WT_Controller_Ancestry extends WT_Controller_Chart {
var $show_full;
var $cellwidth;
+ /**
+ * Startup activity
+ */
function __construct() {
global $bwidth, $bheight, $cbwidth, $cbheight, $pbwidth, $pbheight, $PEDIGREE_FULL_DETAILS;
global $DEFAULT_PEDIGREE_GENERATIONS, $PEDIGREE_GENERATIONS, $MAX_PEDIGREE_GENERATIONS, $OLD_PGENS, $box_width, $Dbwidth, $Dbheight;
diff --git a/library/WT/Controller/Base.php b/library/WT/Controller/Base.php
index 5f3eb2e6e0..bf53a0daa6 100644
--- a/library/WT/Controller/Base.php
+++ b/library/WT/Controller/Base.php
@@ -1,6 +1,4 @@
<?php
-// Base controller for all other controllers
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_Base - Base controller for all other controllers
+ */
class WT_Controller_Base {
// The controller accumulates Javascript (inline and external), and renders it in the footer
const JS_PRIORITY_HIGH = 0;
@@ -32,11 +33,15 @@ class WT_Controller_Base {
protected $page_header = false; // Have we printed a page header?
- // Startup activity
+ /**
+ * Startup activity
+ */
public function __construct() {
}
- // Shutdown activity
+ /**
+ * Shutdown activity
+ */
public function __destruct() {
// If we printed a header, automatically print a footer
if ($this->page_header) {
diff --git a/library/WT/Controller/Branches.php b/library/WT/Controller/Branches.php
index 423f2e71a8..bb42210352 100644
--- a/library/WT/Controller/Branches.php
+++ b/library/WT/Controller/Branches.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the branches list
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_Branches - Controller for the branches list
+ */
class WT_Controller_Branches extends WT_Controller_Page {
/** @var string Generate the branches for this surname */
private $surname;
@@ -34,6 +35,9 @@ class WT_Controller_Branches extends WT_Controller_Page {
/** @var WT_Individual[] Ancestors of the root person - for SOSA numbers */
private $ancestors = array();
+ /**
+ * Create a branches list controller
+ */
public function __construct() {
parent::__construct();
diff --git a/library/WT/Controller/Chart.php b/library/WT/Controller/Chart.php
index 5a730bc6be..6a2a027ddd 100644
--- a/library/WT/Controller/Chart.php
+++ b/library/WT/Controller/Chart.php
@@ -1,6 +1,4 @@
<?php
-// Base controller for all chart pages
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_Chart - Base controller for all chart pages
+ */
class WT_Controller_Chart extends WT_Controller_Page {
/** @var WT_Individual Who is chart about? */
public $root;
@@ -44,6 +45,12 @@ class WT_Controller_Chart extends WT_Controller_Page {
}
}
+ /**
+ * Get significant information from this page, to allow other pages such as
+ * charts and reports to initialise with the same records
+ *
+ * @return WT_Individual
+ */
public function getSignificantIndividual() {
if ($this->root) {
return $this->root;
diff --git a/library/WT/Controller/Compact.php b/library/WT/Controller/Compact.php
index 283d167a4e..4c63935e5f 100644
--- a/library/WT/Controller/Compact.php
+++ b/library/WT/Controller/Compact.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the compact chart
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_Compact - Controller for the compact chart
+ */
class WT_Controller_Compact extends WT_Controller_Chart {
// Data for the view
public $show_thumbs=false;
@@ -28,6 +29,9 @@ class WT_Controller_Compact extends WT_Controller_Chart {
// Date for the controller
private $treeid=array();
+ /**
+ * Startup activity
+ */
public function __construct() {
parent::__construct();
@@ -45,6 +49,11 @@ class WT_Controller_Compact extends WT_Controller_Chart {
$this->treeid = $this->sosaAncestors(5);
}
+ /**
+ * @param integer $n
+ *
+ * @return string
+ */
public function sosaIndividual($n) {
global $SHOW_HIGHLIGHT_IMAGES;
@@ -91,6 +100,12 @@ class WT_Controller_Compact extends WT_Controller_Chart {
}
}
+ /**
+ * @param integer $n
+ * @param string $arrow_dir
+ *
+ * @return string
+ */
public function sosaArrow($n, $arrow_dir) {
global $TEXT_DIRECTION;
diff --git a/library/WT/Controller/Descendancy.php b/library/WT/Controller/Descendancy.php
index 8939330406..86e9c3fab3 100644
--- a/library/WT/Controller/Descendancy.php
+++ b/library/WT/Controller/Descendancy.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the descendancy chart
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -22,6 +20,10 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
use Rhumsaa\Uuid\Uuid;
+
+/**
+ * Class WT_Controller_Descendancy - Controller for the descendancy chart
+ */
class WT_Controller_Descendancy extends WT_Controller_Chart {
var $descPerson = null;
@@ -46,6 +48,9 @@ class WT_Controller_Descendancy extends WT_Controller_Chart {
var $cellwidth;
var $show_cousins;
+ /**
+ * Create the descendancy controller
+ */
function __construct() {
global $bwidth, $bheight, $cbwidth, $cbheight, $pbwidth, $pbheight, $PEDIGREE_FULL_DETAILS, $MAX_DESCENDANCY_GENERATIONS, $DEFAULT_PEDIGREE_GENERATIONS, $show_full;
diff --git a/library/WT/Controller/Family.php b/library/WT/Controller/Family.php
index 5f881f5e3a..6bc20f7b67 100644
--- a/library/WT/Controller/Family.php
+++ b/library/WT/Controller/Family.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the family page
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -25,7 +23,13 @@ use WT\Auth;
require_once WT_ROOT.'includes/functions/functions_print_facts.php';
+/**
+ * Class WT_Controller_Family - Controller for the family page
+ */
class WT_Controller_Family extends WT_Controller_GedcomRecord {
+ /**
+ * Startup activity
+ */
public function __construct() {
global $Dbwidth, $bwidth, $pbwidth, $pbheight, $bheight;
$bwidth = $Dbwidth;
@@ -38,8 +42,12 @@ class WT_Controller_Family extends WT_Controller_GedcomRecord {
parent::__construct();
}
- // Get significant information from this page, to allow other pages such as
- // charts and reports to initialise with the same records
+ /**
+ * Get significant information from this page, to allow other pages such as
+ * charts and reports to initialise with the same records
+ *
+ * @return WT_Individual
+ */
public function getSignificantIndividual() {
if ($this->record) {
foreach ($this->record->getSpouses() as $individual) {
@@ -51,6 +59,13 @@ class WT_Controller_Family extends WT_Controller_GedcomRecord {
}
return parent::getSignificantIndividual();
}
+
+ /**
+ * Get significant information from this page, to allow other pages such as
+ * charts and reports to initialise with the same records
+ *
+ * @return WT_Family
+ */
public function getSignificantFamily() {
if ($this->record) {
return $this->record;
@@ -58,7 +73,11 @@ class WT_Controller_Family extends WT_Controller_GedcomRecord {
return parent::getSignificantFamily();
}
- // $tags is an array of HUSB/WIFE/CHIL
+ /**
+ * @param string[] $tags an array of HUSB/WIFE/CHIL
+ *
+ * @return string
+ */
function getTimelineIndis($tags) {
preg_match_all('/\n1 (?:'.implode('|', $tags).') @('.WT_REGEX_XREF.')@/', $this->record->getGedcom(), $matches);
foreach ($matches[1] as &$match) {
@@ -135,8 +154,12 @@ class WT_Controller_Family extends WT_Controller_GedcomRecord {
return $menu;
}
- // Get significant information from this page, to allow other pages such as
- // charts and reports to initialise with the same records
+ /**
+ * Get significant information from this page, to allow other pages such as
+ * charts and reports to initialise with the same records
+ *
+ * @return string
+ */
public function getSignificantSurname() {
if ($this->record && $this->record->getHusband()) {
list($surn) = explode(',', $this->record->getHusband()->getSortname());
@@ -146,7 +169,9 @@ class WT_Controller_Family extends WT_Controller_GedcomRecord {
}
}
- // Print the facts
+ /**
+ * Print the facts
+ */
public function printFamilyFacts() {
global $linkToID, $WT_TREE;
diff --git a/library/WT/Controller/Familybook.php b/library/WT/Controller/Familybook.php
index c6295b9f54..29438dc3df 100644
--- a/library/WT/Controller/Familybook.php
+++ b/library/WT/Controller/Familybook.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the familybook chart
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_Familybook - Controller for the familybook chart
+ */
class WT_Controller_Familybook extends WT_Controller_Chart {
// Data for the view
public $pid = null;
@@ -34,6 +35,9 @@ class WT_Controller_Familybook extends WT_Controller_Chart {
// Data for the controller
private $dgenerations = null;
+ /**
+ * Create a family-book controller
+ */
public function __construct() {
global $WT_TREE;
diff --git a/library/WT/Controller/GedcomRecord.php b/library/WT/Controller/GedcomRecord.php
index d15197d54e..b39d277a13 100644
--- a/library/WT/Controller/GedcomRecord.php
+++ b/library/WT/Controller/GedcomRecord.php
@@ -1,6 +1,4 @@
<?php
-// Base controller for all GedcomRecord controllers
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,9 +16,15 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_GedcomRecord - Base controller for all GedcomRecord controllers
+ */
class WT_Controller_GedcomRecord extends WT_Controller_Page {
public $record; // individual, source, repository, etc.
+ /**
+ * Startup activity
+ */
public function __construct() {
// Automatically fix broken links
if ($this->record && $this->record->canEdit()) {
diff --git a/library/WT/Controller/Hourglass.php b/library/WT/Controller/Hourglass.php
index adca08de7b..dd3bed8031 100644
--- a/library/WT/Controller/Hourglass.php
+++ b/library/WT/Controller/Hourglass.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the hourglass chart
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_Hourglass - Controller for the hourglass chart
+ */
class WT_Controller_Hourglass extends WT_Controller_Chart {
var $pid = "";
@@ -45,6 +46,11 @@ class WT_Controller_Hourglass extends WT_Controller_Chart {
CONST LINK = "<a class='%s' href='%s' data-parms='%s-%s-%s-%s'></a>";
CONST SWITCH_LINK = "<a href='hourglass.php?rootid=%s&amp;show_spouse=%s&amp;show_full=%s&amp;generations=%s&amp;box_width=%s' class='name1'>%s</a>";
+ /**
+ * @param string $rootid
+ * @param integer $show_full
+ * @param boolean $loadJS
+ */
function __construct($rootid = '', $show_full = 1, $loadJS = true) {
global $bheight, $bwidth, $cbwidth, $cbheight, $PEDIGREE_FULL_DETAILS, $MAX_DESCENDANCY_GENERATIONS;
global $TEXT_DIRECTION, $show_full;
diff --git a/library/WT/Controller/Individual.php b/library/WT/Controller/Individual.php
index 7b7cb82b28..3fa86ddfd7 100644
--- a/library/WT/Controller/Individual.php
+++ b/library/WT/Controller/Individual.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the individual page
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -26,12 +24,18 @@ use WT\User;
require_once WT_ROOT.'includes/functions/functions_print_facts.php';
+/**
+ * Class WT_Controller_Individual - Controller for the individual page
+ */
class WT_Controller_Individual extends WT_Controller_GedcomRecord {
public $name_count = 0;
public $total_names = 0;
public $tabs;
+ /**
+ * Startup activity
+ */
function __construct() {
global $USE_RIN;
@@ -53,14 +57,25 @@ class WT_Controller_Individual extends WT_Controller_GedcomRecord {
}
}
- // Get significant information from this page, to allow other pages such as
- // charts and reports to initialise with the same records
+ /**
+ * Get significant information from this page, to allow other pages such as
+ * charts and reports to initialise with the same records
+ *
+ * @return WT_Individual
+ */
public function getSignificantIndividual() {
if ($this->record) {
return $this->record;
}
return parent::getSignificantIndividual();
}
+
+ /**
+ * Get significant information from this page, to allow other pages such as
+ * charts and reports to initialise with the same records
+ *
+ * @return WT_Family
+ */
public function getSignificantFamily() {
if ($this->record) {
foreach ($this->record->getChildFamilies() as $family) {
@@ -73,7 +88,9 @@ class WT_Controller_Individual extends WT_Controller_GedcomRecord {
return parent::getSignificantFamily();
}
- // Handle AJAX requests - to generate the tab content
+ /**
+ * Handle AJAX requests - to generate the tab content
+ */
public function ajaxRequest() {
global $SEARCH_SPIDER;
@@ -352,8 +369,12 @@ class WT_Controller_Individual extends WT_Controller_GedcomRecord {
return $class;
}
- // Get significant information from this page, to allow other pages such as
- // charts and reports to initialise with the same records
+ /**
+ * Get significant information from this page, to allow other pages such as
+ * charts and reports to initialise with the same records
+ *
+ * @return string
+ */
public function getSignificantSurname() {
if ($this->record) {
list($surn) = explode(',', $this->record->getSortname());
@@ -363,8 +384,11 @@ class WT_Controller_Individual extends WT_Controller_GedcomRecord {
}
}
- // Get the contents of sidebar.
- // TODO?? - only load one block immediately - load the others by AJAX.
+ /**
+ * Get the contents of sidebar.
+ *
+ * @return string
+ */
public function getSideBarContent() {
global $controller;
diff --git a/library/WT/Controller/Lifespan.php b/library/WT/Controller/Lifespan.php
index 3be8dd4e8b..6f54981aaa 100644
--- a/library/WT/Controller/Lifespan.php
+++ b/library/WT/Controller/Lifespan.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the timeline chart
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +21,9 @@
use Fisharebest\ExtCalendar\GregorianCalendar;
+/**
+ * Class WT_Controller_Lifespan - Controller for the timeline chart
+ */
class WT_Controller_Lifespan extends WT_Controller_Page {
var $pids = array();
var $people = array();
@@ -62,6 +63,9 @@ class WT_Controller_Lifespan extends WT_Controller_Page {
'FAMS', 'FAMC', 'MAY', 'BLOB', 'OBJE', 'SEX', 'NAME', 'SOUR', 'NOTE', 'BAPL', 'ENDL', 'SLGC', 'SLGS', '_TODO', '_WT_OBJE_SORT', 'CHAN', 'HUSB', 'WIFE', 'CHIL', 'BIRT', 'DEAT', 'BURI'
);
+ /**
+ * Startup activity
+ */
function __construct() {
global $WT_SESSION;
diff --git a/library/WT/Controller/Media.php b/library/WT/Controller/Media.php
index 23390fca9e..4cbaea9744 100644
--- a/library/WT/Controller/Media.php
+++ b/library/WT/Controller/Media.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the media page
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -25,8 +23,13 @@ use WT\Auth;
require_once WT_ROOT . 'includes/functions/functions_print_facts.php';
+/**
+ * Class WT_Controller_Media - Controller for the media page
+ */
class WT_Controller_Media extends WT_Controller_GedcomRecord {
-
+ /**
+ * Startup activity
+ */
public function __construct() {
$xref = WT_Filter::get('mid', WT_REGEX_XREF);
$this->record = WT_Media::getInstance($xref);
diff --git a/library/WT/Controller/Note.php b/library/WT/Controller/Note.php
index 2e4410a7df..b1ef24e21f 100644
--- a/library/WT/Controller/Note.php
+++ b/library/WT/Controller/Note.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the shared note page
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,7 +21,13 @@
require_once WT_ROOT.'includes/functions/functions_print_facts.php';
+/**
+ * Class WT_Controller_Note - Controller for the shared note page
+ */
class WT_Controller_Note extends WT_Controller_GedcomRecord {
+ /**
+ * Startup activity
+ */
public function __construct() {
$xref = WT_Filter::get('nid', WT_REGEX_XREF);
$this->record = WT_Note::getInstance($xref);
diff --git a/library/WT/Controller/Pedigree.php b/library/WT/Controller/Pedigree.php
index 907c5b7394..4caf85bf01 100644
--- a/library/WT/Controller/Pedigree.php
+++ b/library/WT/Controller/Pedigree.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the pedigree chart
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_Pedigree - Controller for the pedigree chart
+ */
class WT_Controller_Pedigree extends WT_Controller_Chart {
var $rootid;
var $name;
@@ -39,6 +40,9 @@ class WT_Controller_Pedigree extends WT_Controller_Chart {
var $offsetarray;
var $minyoffset;
+ /**
+ * Create a pedigree controller
+ */
public function __construct() {
global $PEDIGREE_FULL_DETAILS, $PEDIGREE_LAYOUT, $MAX_PEDIGREE_GENERATIONS;
global $DEFAULT_PEDIGREE_GENERATIONS;
diff --git a/library/WT/Controller/Repository.php b/library/WT/Controller/Repository.php
index 9463a52419..a34be03cae 100644
--- a/library/WT/Controller/Repository.php
+++ b/library/WT/Controller/Repository.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the repository page
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -25,7 +23,13 @@ use WT\Auth;
require_once WT_ROOT.'includes/functions/functions_print_facts.php';
+/**
+ * Class WT_Controller_Repository - Controller for the repository page
+ */
class WT_Controller_Repository extends WT_Controller_GedcomRecord {
+ /**
+ * Startup activity
+ */
public function __construct() {
$xref = WT_Filter::get('rid', WT_REGEX_XREF);
$this->record = WT_Repository::getInstance($xref);
diff --git a/library/WT/Controller/Search.php b/library/WT/Controller/Search.php
index 9a184ba789..a75bc0f95d 100644
--- a/library/WT/Controller/Search.php
+++ b/library/WT/Controller/Search.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the search page
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +21,9 @@
use WT\Log;
+/**
+ * Class WT_Controller_Search - Controller for the search page
+ */
class WT_Controller_Search extends WT_Controller_Page {
public $action;
// TODO: decide if these variables are public/private/protected (or unused)
@@ -76,6 +77,9 @@ class WT_Controller_Search extends WT_Controller_Page {
var $replacePlacesWord = false;
var $printplace = array();
+ /**
+ * Startup activity
+ */
function __construct() {
global $WT_TREE;
@@ -560,6 +564,9 @@ class WT_Controller_Search extends WT_Controller_Page {
usort($this->myfamlist, array('WT_GedcomRecord', 'compare'));
}
+ /**
+ * @return bool
+ */
function printResults() {
require_once WT_ROOT . 'includes/functions/functions_print_lists.php';
global $GEDCOM;
diff --git a/library/WT/Controller/Simple.php b/library/WT/Controller/Simple.php
index 2751ac37f0..84f9046205 100644
--- a/library/WT/Controller/Simple.php
+++ b/library/WT/Controller/Simple.php
@@ -1,6 +1,4 @@
<?php
-// Controller for all popup pages
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_Simple - Controller for all popup pages
+ */
class WT_Controller_Simple extends WT_Controller_Page {
/**
* Create content for a popup window.
diff --git a/library/WT/Controller/Source.php b/library/WT/Controller/Source.php
index 913d2105db..e763a8d123 100644
--- a/library/WT/Controller/Source.php
+++ b/library/WT/Controller/Source.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the source page
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -25,7 +23,13 @@ use WT\Auth;
require_once WT_ROOT.'includes/functions/functions_print_facts.php';
+/**
+ * Class WT_Controller_Source - Controller for the source page
+ */
class WT_Controller_Source extends WT_Controller_GedcomRecord {
+ /**
+ * Startup activity
+ */
public function __construct() {
$xref = WT_Filter::get('sid', WT_REGEX_XREF);
$this->record = WT_Source::getInstance($xref);
diff --git a/library/WT/Controller/Timeline.php b/library/WT/Controller/Timeline.php
index 23598dd754..290a8fcb3a 100644
--- a/library/WT/Controller/Timeline.php
+++ b/library/WT/Controller/Timeline.php
@@ -1,6 +1,4 @@
<?php
-// Controller for the timeline chart
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Controller_Timeline - Controller for the timeline chart
+ */
class WT_Controller_Timeline extends WT_Controller_Page {
var $bheight = 30;
var $placements = array();
@@ -38,6 +39,9 @@ class WT_Controller_Timeline extends WT_Controller_Page {
// GEDCOM elements that may have DATE data, but should not be displayed
private $nonfacts = array('BAPL', 'ENDL', 'SLGC', 'SLGS', '_TODO', 'CHAN');
+ /**
+ * Startup activity
+ */
function __construct() {
parent::__construct();
@@ -130,6 +134,9 @@ class WT_Controller_Timeline extends WT_Controller_Page {
$this->topyear += 5;
}
+ /**
+ * @param WT_Fact $event
+ */
function print_time_fact(WT_Fact $event) {
global $basexoffset, $baseyoffset, $factcount, $TEXT_DIRECTION, $WT_IMAGES, $placements;
@@ -247,6 +254,12 @@ class WT_Controller_Timeline extends WT_Controller_Page {
echo '</div>';
}
+ /**
+ * Get significant information from this page, to allow other pages such as
+ * charts and reports to initialise with the same records
+ *
+ * @return WT_Individual
+ */
public function getSignificantIndividual() {
if ($this->pids) {
return WT_Individual::getInstance($this->pids[0]);
diff --git a/library/WT/DB.php b/library/WT/DB.php
index 2f9edcbef9..d6f46427ee 100644
--- a/library/WT/DB.php
+++ b/library/WT/DB.php
@@ -1,8 +1,4 @@
<?php
-//
-// Class file for the database access. Extend PHP's native PDO and
-// PDOStatement classes to provide database access with logging, etc.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_DB Class - Extend PHP's native PDO and PDOStatement classes
+ * to provide database access with logging, etc.
+ */
class WT_DB {
/** @var WT_DB Implement the singleton pattern */
private static $instance;
@@ -33,17 +33,27 @@ class WT_DB {
/** @var array Keep a log of all the SQL statements that we execute */
private static $log;
- // Prevent instantiation via new WT_DB
+ /**
+ * Prevent instantiation via new WT_DB
+ */
private final function __construct() {
self::$log = array();
}
- // Prevent instantiation via clone()
+ /**
+ * Prevent instantiation via clone()
+ *
+ * @throws Exception
+ */
public final function __clone() {
throw new Exception('WT_DB::clone() is not allowed.');
}
- // Prevent instantiation via serialize()
+ /**
+ * Prevent instantiation via serialize()
+ *
+ * @throws Exception
+ */
public final function __wakeup() {
throw new Exception('WT_DB::unserialize() is not allowed.');
}
diff --git a/library/WT/Date/Calendar.php b/library/WT/Date/Calendar.php
index 3d89632fc9..5384e900d0 100644
--- a/library/WT/Date/Calendar.php
+++ b/library/WT/Date/Calendar.php
@@ -1,16 +1,4 @@
<?php
-// Classes for Gedcom Date/Calendar functionality.
-//
-// WT_Date_Calendar is a base class for classes such as WT_Date_Gregorian, etc.
-//
-// + All supported calendars have non-zero days/months/years.
-// + We store dates as both Y/M/D and Julian Days.
-// + For imprecise dates such as "JAN 2000" we store the start/end julian day.
-//
-// NOTE: Since different calendars start their days at different times, (civil
-// midnight, solar midnight, sunset, sunrise, etc.), we convert on the basis of
-// midday.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -31,6 +19,18 @@
use FishareBest\ExtCalendar\CalendarInterface;
use FishareBest\ExtCalendar\JewishCalendar;
+/**
+ * Class WT_Date_Calendar - Classes for Gedcom Date/Calendar functionality.
+ *
+ * WT_Date_Calendar is a base class for classes such as WT_Date_Gregorian, etc.
+ * + All supported calendars have non-zero days/months/years.
+ * + We store dates as both Y/M/D and Julian Days.
+ * + For imprecise dates such as "JAN 2000" we store the start/end julian day.
+ *
+ * NOTE: Since different calendars start their days at different times, (civil
+ * midnight, solar midnight, sunset, sunrise, etc.), we convert on the basis of
+ * midday.
+ */
class WT_Date_Calendar {
const CALENDAR_ESCAPE = '@#DUNKNOWN@';
const MONTHS_IN_YEAR = 12;
diff --git a/library/WT/Date/French.php b/library/WT/Date/French.php
index b77652969d..4618127991 100644
--- a/library/WT/Date/French.php
+++ b/library/WT/Date/French.php
@@ -1,12 +1,4 @@
<?php
-// Classes for Gedcom Date/Calendar functionality.
-//
-// Definitions for the French Republican calendar
-//
-// NOTE: Since different calendars start their days at different times, (civil
-// midnight, solar midnight, sunset, sunrise, etc.), we convert on the basis of
-// midday.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -26,6 +18,9 @@
use Fisharebest\ExtCalendar\FrenchCalendar;
+/**
+ * Class WT_Date_French - Definitions for the French Republican calendar
+ */
class WT_Date_French extends WT_Date_Calendar {
const CALENDAR_ESCAPE = '@#DFRENCH R@';
const MONTHS_IN_YEAR = 13;
diff --git a/library/WT/Date/Gregorian.php b/library/WT/Date/Gregorian.php
index 857b45fcff..c1e66b1af0 100644
--- a/library/WT/Date/Gregorian.php
+++ b/library/WT/Date/Gregorian.php
@@ -1,12 +1,4 @@
<?php
-// Classes for Gedcom Date/Calendar functionality.
-//
-// Definitions for the Gregorian calendar
-//
-// NOTE: Since different calendars start their days at different times, (civil
-// midnight, solar midnight, sunset, sunrise, etc.), we convert on the basis of
-// midday.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -26,6 +18,9 @@
use Fisharebest\ExtCalendar\GregorianCalendar;
+/**
+ * Class WT_Date_Gregorian - Definitions for the Gregorian calendar
+ */
class WT_Date_Gregorian extends WT_Date_Calendar {
const CALENDAR_ESCAPE = '@#DGREGORIAN@';
const CAL_START_JD = 2299161; // 15 OCT 1582
diff --git a/library/WT/Date/Hijri.php b/library/WT/Date/Hijri.php
index b6507939ec..dac8da75ab 100644
--- a/library/WT/Date/Hijri.php
+++ b/library/WT/Date/Hijri.php
@@ -1,13 +1,4 @@
<?php
-// Classes for Gedcom Date/Calendar functionality.
-//
-// Definitions for the Hijri calendar. Note that these are "theoretical" dates.
-// "True" dates are based on local lunar observations, and can be a +/- one day.
-//
-// NOTE: Since different calendars start their days at different times, (civil
-// midnight, solar midnight, sunset, sunrise, etc.), we convert on the basis of
-// midday.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -27,6 +18,11 @@
use Fisharebest\ExtCalendar\ArabicCalendar;
+/**
+ * Class WT_Date_Hijri - Definitions for the Hijri calendar.
+ * Note that these are "theoretical" dates.
+ * "True" dates are based on local lunar observations, and can be a +/- one day.
+ */
class WT_Date_Hijri extends WT_Date_Calendar {
const CALENDAR_ESCAPE = '@#DHIJRI@';
const CAL_START_JD = 1948440; // @#DHIJRI@ 1 MUHAR 0001 = @#JULIAN@ 16 JUL 0622
diff --git a/library/WT/Date/Jalali.php b/library/WT/Date/Jalali.php
index 1debb397d5..b6557b8b69 100644
--- a/library/WT/Date/Jalali.php
+++ b/library/WT/Date/Jalali.php
@@ -1,12 +1,4 @@
<?php
-// Classes for Gedcom Date/Calendar functionality.
-//
-// Definitions for the Jalali calendar
-//
-// NOTE: Since different calendars start their days at different times, (civil
-// midnight, solar midnight, sunset, sunrise, etc.), we convert on the basis of
-// midday.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -26,6 +18,9 @@
use Fisharebest\ExtCalendar\PersianCalendar;
+/**
+ * Class WT_Date_Jalali - Definitions for the Jalali calendar
+ */
class WT_Date_Jalali extends WT_Date_Calendar {
const CALENDAR_ESCAPE = '@#DJALALI@';
const CAL_START_JD = 1948321;
diff --git a/library/WT/Date/Jewish.php b/library/WT/Date/Jewish.php
index 9703fea6c6..838fea8886 100644
--- a/library/WT/Date/Jewish.php
+++ b/library/WT/Date/Jewish.php
@@ -1,12 +1,4 @@
<?php
-// Classes for Gedcom Date/Calendar functionality.
-//
-// Definitions for the Jewish calendar
-//
-// NOTE: Since different calendars start their days at different times, (civil
-// midnight, solar midnight, sunset, sunrise, etc.), we convert on the basis of
-// midday.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -26,6 +18,9 @@
use Fisharebest\ExtCalendar\JewishCalendar;
+/**
+ * Class WT_Date_Jewish - Definitions for the Jewish calendar
+ */
class WT_Date_Jewish extends WT_Date_Calendar {
const CALENDAR_ESCAPE = '@#DHEBREW@';
const MONTHS_IN_YEAR = 13;
diff --git a/library/WT/Date/Julian.php b/library/WT/Date/Julian.php
index 825f2d4a77..1a140ba54c 100644
--- a/library/WT/Date/Julian.php
+++ b/library/WT/Date/Julian.php
@@ -1,13 +1,4 @@
<?php
-// Classes for Gedcom Date/Calendar functionality.
-//
-// Definitions for the Julian Proleptic calendar
-// (Proleptic means we extend it backwards, prior to its introduction in 46BC)
-//
-// NOTE: Since different calendars start their days at different times, (civil
-// midnight, solar midnight, sunset, sunrise, etc.), we convert on the basis of
-// midday.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -27,6 +18,10 @@
use Fisharebest\ExtCalendar\JulianCalendar;
+/**
+ * Class WT_Date_Julian - Definitions for the Julian Proleptic calendar
+ * (Proleptic means we extend it backwards, prior to its introduction in 46BC)
+ */
class WT_Date_Julian extends WT_Date_Calendar {
const CALENDAR_ESCAPE = '@#DJULIAN@';
diff --git a/library/WT/Date/Roman.php b/library/WT/Date/Roman.php
index 3b8b05a334..53ea372139 100644
--- a/library/WT/Date/Roman.php
+++ b/library/WT/Date/Roman.php
@@ -1,15 +1,4 @@
<?php
-// Classes for Gedcom Date/Calendar functionality.
-//
-// Definitions for the Roman calendar
-// TODO The 5.5.1 gedcom spec mentions this calendar, but gives no details of
-// how it is to be represented.... This class is just a place holder so that
-// webtrees won’t compain if it receives one.
-//
-// NOTE: Since different calendars start their days at different times, (civil
-// midnight, solar midnight, sunset, sunrise, etc.), we convert on the basis of
-// midday.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -27,6 +16,13 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Date_Roman - Definitions for the Roman calendar
+ *
+ * The 5.5.1 gedcom spec mentions this calendar, but gives no details of
+ * how it is to be represented.... This class is just a place holder so that
+ * webtrees won’t compain if it receives one.
+ */
class WT_Date_Roman extends WT_Date_Calendar {
const CALENDAR_ESCAPE = '@#DROMAN@';
diff --git a/library/WT/Fact.php b/library/WT/Fact.php
index 6b28e1f023..508b5df85e 100644
--- a/library/WT/Fact.php
+++ b/library/WT/Fact.php
@@ -1,6 +1,4 @@
<?php
-// Class that defines an event details object
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Fact - Class that defines an event details object
+ */
class WT_Fact {
/** @var string Unique identifier for this fact (currently implemented as a hash of the raw data). */
private $fact_id;
diff --git a/library/WT/Family.php b/library/WT/Family.php
index 1825be4a64..6c64e41234 100644
--- a/library/WT/Family.php
+++ b/library/WT/Family.php
@@ -1,6 +1,4 @@
<?php
-// Class file for a Family
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Family - Class file for a Family
+ */
class WT_Family extends WT_GedcomRecord {
const RECORD_TYPE = 'FAM';
const URL_PREFIX = 'family.php?famid=';
diff --git a/library/WT/File.php b/library/WT/File.php
index 7eabc6c9b5..4e2c740a8b 100644
--- a/library/WT/File.php
+++ b/library/WT/File.php
@@ -1,6 +1,4 @@
<?php
-// File manipulation utilities
-//
// webtrees: Web based Family History software
// Copyright (c) 2014 webtrees development team
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_File - File manipulation utilities
+ */
class WT_File {
/**
* Fetch a remote file
diff --git a/library/WT/FlashMessages.php b/library/WT/FlashMessages.php
index 07a2cc8e4a..665450e00d 100644
--- a/library/WT/FlashMessages.php
+++ b/library/WT/FlashMessages.php
@@ -1,7 +1,4 @@
<?php
-// Flash messages allow us to generate messages in one context, and
-// display them in another.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -19,6 +16,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_FlashMessages - Flash messages allow us to generate messages
+ * in one context, and display them in another.
+ */
class WT_FlashMessages {
/**
* Add a new message to the session storage.
diff --git a/library/WT/Gedcom/Code/Adop.php b/library/WT/Gedcom/Code/Adop.php
index 6dbccdc95b..164f98dd12 100644
--- a/library/WT/Gedcom/Code/Adop.php
+++ b/library/WT/Gedcom/Code/Adop.php
@@ -1,6 +1,4 @@
<?php
-// Functions and logic for GEDCOM "PEDI" codes
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Gedcom_Code_Adop - Functions and logic for GEDCOM "PEDI" codes
+ */
class WT_Gedcom_Code_Adop {
/** @var string[] A list of possible adoption codes */
private static $TYPES = array('BOTH', 'HUSB', 'WIFE');
diff --git a/library/WT/Gedcom/Code/Name.php b/library/WT/Gedcom/Code/Name.php
index 3aa9a7273c..0642fa253f 100644
--- a/library/WT/Gedcom/Code/Name.php
+++ b/library/WT/Gedcom/Code/Name.php
@@ -1,6 +1,4 @@
<?php
-// Functions and logic for GEDCOM "NAME" codes
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Gedcom_Code_Name - Functions and logic for GEDCOM "NAME" codes
+ */
class WT_Gedcom_Code_Name {
/** @var string[] A list of possible types of name */
private static $TYPES = array('adopted', 'aka', 'birth', 'change', 'estate', 'immigrant', 'maiden', 'married', 'religious');
diff --git a/library/WT/Gedcom/Code/Pedi.php b/library/WT/Gedcom/Code/Pedi.php
index 15720bef07..89d8b7b988 100644
--- a/library/WT/Gedcom/Code/Pedi.php
+++ b/library/WT/Gedcom/Code/Pedi.php
@@ -1,6 +1,4 @@
<?php
-// Functions and logic for GEDCOM "PEDI" codes
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Gedcom_Code_Pedi - Functions and logic for GEDCOM "PEDI" codes
+ */
class WT_Gedcom_Code_Pedi {
/** @var string[] Possible values for pedigree field */
private static $TYPES = array('adopted', 'birth', 'foster', 'rada', 'sealing');
diff --git a/library/WT/Gedcom/Code/Quay.php b/library/WT/Gedcom/Code/Quay.php
index d50960a8b9..7244dd9979 100644
--- a/library/WT/Gedcom/Code/Quay.php
+++ b/library/WT/Gedcom/Code/Quay.php
@@ -1,6 +1,4 @@
<?php
-// Functions and logic for GEDCOM "QUAY" codes
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Gedcom_Code_Quay - Functions and logic for GEDCOM "QUAY" codes
+ */
class WT_Gedcom_Code_Quay {
private static $TYPES = array('3', '2', '1', '0');
diff --git a/library/WT/Gedcom/Code/Rela.php b/library/WT/Gedcom/Code/Rela.php
index ea050f75f6..3d3d489438 100644
--- a/library/WT/Gedcom/Code/Rela.php
+++ b/library/WT/Gedcom/Code/Rela.php
@@ -1,6 +1,4 @@
<?php
-// Functions and logic for GEDCOM "RELA" codes
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Gedcom_Code_Rela - Functions and logic for GEDCOM "RELA" codes
+ */
class WT_Gedcom_Code_Rela {
/** @var string[] List of possible values for the RELA tag */
diff --git a/library/WT/Gedcom/Code/Stat.php b/library/WT/Gedcom/Code/Stat.php
index 4b1310c3a7..623c1c237b 100644
--- a/library/WT/Gedcom/Code/Stat.php
+++ b/library/WT/Gedcom/Code/Stat.php
@@ -1,6 +1,4 @@
<?php
-// Functions and logic for GEDCOM "STAT" codes
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Gedcom_Code_Stat - Functions and logic for GEDCOM "STAT" codes
+ */
class WT_Gedcom_Code_Stat {
/**
* Get a list of status codes that can be used on a given LDS tag
diff --git a/library/WT/Gedcom/Code/Temp.php b/library/WT/Gedcom/Code/Temp.php
index b1dc75439c..e9fdf979e3 100644
--- a/library/WT/Gedcom/Code/Temp.php
+++ b/library/WT/Gedcom/Code/Temp.php
@@ -1,6 +1,4 @@
<?php
-// Functions and logic for GEDCOM "TEMP" codes
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Gedcom_Code_Temp - Functions and logic for GEDCOM "TEMP" codes
+ */
class WT_Gedcom_Code_Temp {
/**
* A list of GEDCOM tags that require a TEMP subtag
diff --git a/library/WT/Gedcom/Tag.php b/library/WT/Gedcom/Tag.php
index 20d61f3814..39527cd5c7 100644
--- a/library/WT/Gedcom/Tag.php
+++ b/library/WT/Gedcom/Tag.php
@@ -1,6 +1,4 @@
<?php
-// Static GEDCOM data for Tags
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 Greg Roach
//
@@ -20,6 +18,9 @@
use Rhumsaa\Uuid\Uuid;
+/**
+ * Class WT_Gedcom_Tag - Static GEDCOM data for Tags
+ */
class WT_Gedcom_Tag {
/** @var string[] All tags that webtrees knows how to translate - including special/internal tags */
private static $ALL_TAGS = array(
diff --git a/library/WT/GedcomRecord.php b/library/WT/GedcomRecord.php
index e4be6cebf5..d32265282f 100644
--- a/library/WT/GedcomRecord.php
+++ b/library/WT/GedcomRecord.php
@@ -1,6 +1,4 @@
<?php
-// Base class for all gedcom records
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -24,6 +22,9 @@
use WT\Auth;
use WT\Log;
+/**
+ * Class WT_GedcomRecord - Base class for all gedcom records
+ */
class WT_GedcomRecord {
const RECORD_TYPE = 'UNKNOWN';
const URL_PREFIX = 'gedrecord.php?pid=';
diff --git a/library/WT/Individual.php b/library/WT/Individual.php
index 780f0467ae..a3baee9071 100644
--- a/library/WT/Individual.php
+++ b/library/WT/Individual.php
@@ -1,6 +1,4 @@
<?php
-// Class file for an individual
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +21,9 @@
use Fisharebest\ExtCalendar\GregorianCalendar;
+/**
+ * Class WT_Individual - Class file for an individual
+ */
class WT_Individual extends WT_GedcomRecord {
const RECORD_TYPE = 'INDI';
const URL_PREFIX = 'individual.php?pid=';
diff --git a/library/WT/Mail.php b/library/WT/Mail.php
index d614968839..9ca023a8e6 100644
--- a/library/WT/Mail.php
+++ b/library/WT/Mail.php
@@ -1,6 +1,4 @@
<?php
-// Send mail messages
-//
// webtrees: Web based Family History software
// Copyright (c) 2014 webtrees development team
//
@@ -21,6 +19,9 @@
use WT\Log;
use WT\User;
+/**
+ * Class WT_Mail - Send mail messages
+ */
class WT_Mail {
const EOL = "<br>\r\n"; // End-of-line that works for both TEXT and HTML messages
diff --git a/library/WT/Media.php b/library/WT/Media.php
index 455b6efe5a..ac8561e6d9 100644
--- a/library/WT/Media.php
+++ b/library/WT/Media.php
@@ -1,6 +1,4 @@
<?php
-// Class that defines a media object
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +21,9 @@
use WT\Log;
+/**
+ * Class WT_Media - Class that defines a media object
+ */
class WT_Media extends WT_GedcomRecord {
const RECORD_TYPE = 'OBJE';
const URL_PREFIX = 'mediaviewer.php?mid=';
@@ -242,7 +243,10 @@ class WT_Media extends WT_GedcomRecord {
return @file_exists($this->getServerFilename($which));
}
- // determine if the file is an external url
+ /**
+ * Determine if the file is an external url
+ * @return bool
+ */
public function isExternal() {
return strpos($this->file, '://') !== false;
}
diff --git a/library/WT/Menu.php b/library/WT/Menu.php
index 742d283a47..6da09536b3 100644
--- a/library/WT/Menu.php
+++ b/library/WT/Menu.php
@@ -1,6 +1,4 @@
<?php
-// System for generating menus.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Menu - System for generating menus.
+ */
class WT_Menu {
var $label = ' ';
var $labelpos = 'right';
diff --git a/library/WT/MenuBar.php b/library/WT/MenuBar.php
index 3ed9b72c7a..f6263c46ca 100644
--- a/library/WT/MenuBar.php
+++ b/library/WT/MenuBar.php
@@ -1,6 +1,4 @@
<?php
-// System for generating menus.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,7 +21,13 @@
use WT\Auth;
+/**
+ * Class WT_MenuBar - System for generating menus.
+ */
class WT_MenuBar {
+ /**
+ * @return WT_Menu
+ */
public static function getGedcomMenu() {
$menu = new WT_Menu(WT_I18N::translate('Home page'), 'index.php?ctype=gedcom&amp;ged='.WT_GEDURL, 'menu-tree');
$ALLOW_CHANGE_GEDCOM=WT_Site::getPreference('ALLOW_CHANGE_GEDCOM') && count(WT_Tree::getAll())>1;
@@ -40,6 +44,9 @@ class WT_MenuBar {
return $menu;
}
+ /**
+ * @return WT_Menu
+ */
public static function getMyPageMenu() {
global $PEDIGREE_FULL_DETAILS, $PEDIGREE_LAYOUT;
@@ -81,6 +88,9 @@ class WT_MenuBar {
return $menu;
}
+ /**
+ * @return WT_Menu
+ */
public static function getChartsMenu() {
global $SEARCH_SPIDER, $controller;
@@ -270,6 +280,10 @@ class WT_MenuBar {
return $menu;
}
+ /**
+ * @return WT_Menu
+ * @throws Exception
+ */
public static function getListsMenu() {
global $SEARCH_SPIDER, $controller;
@@ -316,6 +330,9 @@ class WT_MenuBar {
return $menu;
}
+ /**
+ * @return WT_Menu
+ */
public static function getCalendarMenu() {
global $SEARCH_SPIDER;
@@ -360,6 +377,9 @@ class WT_MenuBar {
return $menu;
}
+ /**
+ * @return WT_Menu
+ */
public static function getSearchMenu() {
global $SEARCH_SPIDER;
@@ -385,6 +405,9 @@ class WT_MenuBar {
return $menu;
}
+ /**
+ * @return WT_Menu[]
+ */
public static function getModuleMenus() {
$menus=array();
foreach (WT_Module::getActiveMenus() as $module) {
@@ -396,6 +419,10 @@ class WT_MenuBar {
return $menus;
}
+ /**
+ * @return null|WT_Menu
+ * @throws Exception
+ */
public static function getThemeMenu() {
global $SEARCH_SPIDER, $WT_TREE;
@@ -412,6 +439,9 @@ class WT_MenuBar {
}
}
+ /**
+ * @return null|WT_Menu
+ */
public static function getLanguageMenu() {
global $SEARCH_SPIDER;
@@ -433,6 +463,10 @@ class WT_MenuBar {
}
}
+ /**
+ * @return WT_Menu
+ * @throws Exception
+ */
public static function getFavoritesMenu() {
global $REQUIRE_AUTHENTICATION, $controller, $SEARCH_SPIDER;
diff --git a/library/WT/Module/Block.php b/library/WT/Module/Block.php
index f377e54aa5..6e832bf1ab 100644
--- a/library/WT/Module/Block.php
+++ b/library/WT/Module/Block.php
@@ -1,6 +1,4 @@
<?php
-// Classes and libraries for module system
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Interface WT_Module_Block - Classes and libraries for module system
+ */
interface WT_Module_Block {
/**
* Generate the HTML content of this block.
diff --git a/library/WT/Module/Chart.php b/library/WT/Module/Chart.php
index c0d76c201d..664f1d8a34 100644
--- a/library/WT/Module/Chart.php
+++ b/library/WT/Module/Chart.php
@@ -1,5 +1,5 @@
<?php
-// Classes and libraries for module system
+//
//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
@@ -18,6 +18,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Interface WT_Module_Chart - Classes and libraries for module system
+ *
+ * This class is not currently used.
+ */
interface WT_Module_Chart {
- public function getChart();
}
diff --git a/library/WT/Module/Config.php b/library/WT/Module/Config.php
index b09ff6df8c..4f36f9e888 100644
--- a/library/WT/Module/Config.php
+++ b/library/WT/Module/Config.php
@@ -1,6 +1,4 @@
<?php
-// Classes and libraries for module system
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Interface WT_Module_Config - Classes and libraries for module system
+ */
interface WT_Module_Config {
/**
* The URL to a page where the user can modify the configuration of this module.
diff --git a/library/WT/Module/Menu.php b/library/WT/Module/Menu.php
index 8cfb4d6e4e..2b7fca0afb 100644
--- a/library/WT/Module/Menu.php
+++ b/library/WT/Module/Menu.php
@@ -1,6 +1,4 @@
<?php
-// Classes and libraries for module system
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Interface WT_Module_Menu - Classes and libraries for module system
+ */
interface WT_Module_Menu {
/**
* The user can re-order menus. Until they do, they are shown in this order.
diff --git a/library/WT/Module/Report.php b/library/WT/Module/Report.php
index db2f08aeaf..2de0b8ffdd 100644
--- a/library/WT/Module/Report.php
+++ b/library/WT/Module/Report.php
@@ -1,6 +1,4 @@
<?php
-// Classes and libraries for module system
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Interface WT_Module_Report - Classes and libraries for module system
+ */
interface WT_Module_Report {
/**
* Return a list of (usually just one) menu items.
diff --git a/library/WT/Module/Sidebar.php b/library/WT/Module/Sidebar.php
index a5841f0934..e7a61dd6cd 100644
--- a/library/WT/Module/Sidebar.php
+++ b/library/WT/Module/Sidebar.php
@@ -1,6 +1,4 @@
<?php
-// Classes and libraries for module system
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Interface WT_Module_Sidebar - Classes and libraries for module system
+ */
interface WT_Module_Sidebar {
/**
* The user can change the order of sidebars. Until they do this, they are shown in this order.
diff --git a/library/WT/Module/Tab.php b/library/WT/Module/Tab.php
index e46173eee9..4ddffb5963 100644
--- a/library/WT/Module/Tab.php
+++ b/library/WT/Module/Tab.php
@@ -1,6 +1,4 @@
<?php
-// Classes and libraries for module system
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,6 +16,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Interface WT_Module_Tab - Classes and libraries for module system
+ */
interface WT_Module_Tab {
/**
* The user can re-arrange the tab order, but until they do, this
diff --git a/library/WT/Module/Theme.php b/library/WT/Module/Theme.php
index 97f27f5fc5..424acf15be 100644
--- a/library/WT/Module/Theme.php
+++ b/library/WT/Module/Theme.php
@@ -1,6 +1,4 @@
<?php
-// Classes and libraries for module system
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,6 +16,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Interface WT_Module_Theme - Classes and libraries for module system
+ *
+ * This class is not currently used
+ */
interface WT_Module_Theme {
- public function getTheme();
}
diff --git a/library/WT/Note.php b/library/WT/Note.php
index cda60e86b0..38bf3c7609 100644
--- a/library/WT/Note.php
+++ b/library/WT/Note.php
@@ -1,6 +1,4 @@
<?php
-// Class file for a Shared Note (NOTE) object
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Note - Class file for a Shared Note (NOTE) object
+ */
class WT_Note extends WT_GedcomRecord {
const RECORD_TYPE = 'NOTE';
const URL_PREFIX = 'note.php?nid=';
diff --git a/library/WT/Place.php b/library/WT/Place.php
index be481f2bba..5ebff81ddf 100644
--- a/library/WT/Place.php
+++ b/library/WT/Place.php
@@ -1,6 +1,4 @@
<?php
-// Gedcom Place functionality.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -18,11 +16,18 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Place - Gedcom Place functionality.
+ */
class WT_Place {
const GEDCOM_SEPARATOR = ', ';
private $gedcom_place; // e.g. array("Westminster", "London", "England")
private $gedcom_id; // We may have the same place in different trees
+ /**
+ * @param string $gedcom_place
+ * @param integer $gedcom_id
+ */
public function __construct($gedcom_place, $gedcom_id) {
if ($gedcom_place) {
$this->gedcom_place=explode(self::GEDCOM_SEPARATOR, $gedcom_place);
@@ -33,62 +38,89 @@ class WT_Place {
$this->gedcom_id=$gedcom_id;
}
+ /**
+ * @return integer
+ */
public function getPlaceId() {
- $place_id=0;
+ $place_id = 0;
foreach (array_reverse($this->gedcom_place) as $place) {
- $place_id=
- WT_DB::prepare("SELECT SQL_CACHE p_id FROM `##places` WHERE p_parent_id=? AND p_place=? AND p_file=?")
- ->execute(array($place_id, $place, $this->gedcom_id))
- ->fetchOne();
+ $place_id = WT_DB::prepare(
+ "SELECT SQL_CACHE p_id FROM `##places` WHERE p_parent_id=? AND p_place=? AND p_file=?"
+ )->execute(array($place_id, $place, $this->gedcom_id))->fetchOne();
}
+
return $place_id;
}
+ /**
+ * @return WT_Place
+ */
public function getParentPlace() {
return new WT_Place(implode(self::GEDCOM_SEPARATOR, array_slice($this->gedcom_place, 1)), $this->gedcom_id);
}
+ /**
+ * @return WT_Place[]
+ */
public function getChildPlaces() {
- $children=array();
+ $children = array();
if ($this->getPlaceId()) {
- $parent_text=self::GEDCOM_SEPARATOR . $this->getGedcomName();
+ $parent_text = self::GEDCOM_SEPARATOR . $this->getGedcomName();
} else {
- $parent_text='';
+ $parent_text = '';
}
- $rows=
+ $rows =
WT_DB::prepare("SELECT SQL_CACHE p_place FROM `##places` WHERE p_parent_id=? AND p_file=? ORDER BY p_place COLLATE '".WT_I18N::$collation."'")
->execute(array($this->getPlaceId(), $this->gedcom_id))
->fetchOneColumn();
foreach ($rows as $row) {
- $children[]=new WT_Place($row . $parent_text, $this->gedcom_id);
+ $children[] = new WT_Place($row . $parent_text, $this->gedcom_id);
}
+
return $children;
}
+ /**
+ * @return string
+ */
public function getURL() {
- $url='placelist.php';
- foreach (array_reverse($this->gedcom_place) as $n=>$place) {
- $url.=$n ? '&amp;' : '?';
- $url.='parent%5B%5D='.rawurlencode($place);
+ $url = 'placelist.php';
+ foreach (array_reverse($this->gedcom_place) as $n => $place) {
+ $url .= $n ? '&amp;' : '?';
+ $url .= 'parent%5B%5D=' . rawurlencode($place);
}
- $url.='&amp;ged='.rawurlencode(get_gedcom_from_id($this->gedcom_id));
+ $url .= '&amp;ged=' . rawurlencode(get_gedcom_from_id($this->gedcom_id));
+
return $url;
}
+ /**
+ * @return string
+ */
public function getGedcomName() {
return implode(self::GEDCOM_SEPARATOR, $this->gedcom_place);
}
+ /**
+ * @return string
+ */
public function getPlaceName() {
- $place=reset($this->gedcom_place);
- return $place ? '<span dir="auto">'.WT_Filter::escapeHtml($place).'</span>' : WT_I18N::translate('unknown');
+ $place = reset($this->gedcom_place);
+
+ return $place ? '<span dir="auto">' . WT_Filter::escapeHtml($place) . '</span>' : WT_I18N::translate('unknown');
}
+ /**
+ * @return bool
+ */
public function isEmpty() {
return empty($this->gedcom_place);
}
+ /**
+ * @return string
+ */
public function getFullName() {
if (true) {
// If a place hierarchy is a single entity
@@ -104,7 +136,11 @@ class WT_Place {
}
}
- // For lists and charts, where the full name won’t fit.
+ /**
+ * For lists and charts, where the full name won’t fit.
+ *
+ * @return string
+ */
public function getShortName() {
global $SHOW_PEDIGREE_PLACES, $SHOW_PEDIGREE_PLACES_SUFFIX;
@@ -125,15 +161,25 @@ class WT_Place {
}
}
- // For the "view all" option of placelist.php and find.php
+ /**
+ * For the "view all" option of placelist.php and find.php
+ *
+ * @return string
+ */
public function getReverseName() {
- $tmp=array();
+ $tmp = array();
foreach (array_reverse($this->gedcom_place) as $place) {
- $tmp[]='<span dir="auto">' . WT_Filter::escapeHtml($place) . '</span>';
+ $tmp[] = '<span dir="auto">' . WT_Filter::escapeHtml($place) . '</span>';
}
+
return implode(WT_I18N::$list_separator, $tmp);
}
+ /**
+ * @param integer $gedcom_id
+ *
+ * @return string[]
+ */
public static function allPlaces($gedcom_id) {
$places=array();
$rows=
@@ -159,6 +205,12 @@ class WT_Place {
return $places;
}
+ /**
+ * @param string $filter
+ * @param integer $gedcom_id
+ *
+ * @return string[]
+ */
public static function findPlaces($filter, $gedcom_id) {
$places=array();
$rows=
diff --git a/library/WT/Report/Base_Cell.php b/library/WT/Report/Base_Cell.php
index 4abc698b45..8bc762db1a 100644
--- a/library/WT/Report/Base_Cell.php
+++ b/library/WT/Report/Base_Cell.php
@@ -1,8 +1,4 @@
<?php
-// Base Report Generator
-//
-// used by the SAX parser to generate reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_Base_Cell - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_Base_Cell extends WT_Report_Base_Element {
/**
* Allows to center or align the text. Possible values are:<ul><li>left or empty string: left align</li><li>center: center align</li><li>right: right align</li><li>justify: justification (default value when $ishtml=false)</li></ul>
diff --git a/library/WT/Report/Base_Element.php b/library/WT/Report/Base_Element.php
index f32718f9f3..2340d83ce7 100644
--- a/library/WT/Report/Base_Element.php
+++ b/library/WT/Report/Base_Element.php
@@ -1,8 +1,4 @@
<?php
-// Base Report Generator
-//
-// used by the SAX parser to generate reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_Base_Element - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_Base_Element {
/**
* @var string
diff --git a/library/WT/Report/Base_Footnote.php b/library/WT/Report/Base_Footnote.php
index 192c942161..9823289d30 100644
--- a/library/WT/Report/Base_Footnote.php
+++ b/library/WT/Report/Base_Footnote.php
@@ -1,8 +1,4 @@
<?php
-// Base Report Generator
-//
-// used by the SAX parser to generate reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_Base_Footnote - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_Base_Footnote extends WT_Report_Base_Element {
/**
* The name of the style for this element
diff --git a/library/WT/Report/Base_Html.php b/library/WT/Report/Base_Html.php
index ef50f870fd..e9415c66f2 100644
--- a/library/WT/Report/Base_Html.php
+++ b/library/WT/Report/Base_Html.php
@@ -1,8 +1,4 @@
<?php
-// Base Report Generator
-//
-// used by the SAX parser to generate reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_Base_Html - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_Base_Html extends WT_Report_Base_Element {
public $tag;
public $attrs;
diff --git a/library/WT/Report/Base_Image.php b/library/WT/Report/Base_Image.php
index fb9abd1375..7fff21c1da 100644
--- a/library/WT/Report/Base_Image.php
+++ b/library/WT/Report/Base_Image.php
@@ -1,8 +1,4 @@
<?php
-// Base Report Generator
-//
-// used by the SAX parser to generate reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_Base_Image - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_Base_Image extends WT_Report_Base_Element {
/**
* Filename of the image
diff --git a/library/WT/Report/Base_Line.php b/library/WT/Report/Base_Line.php
index 84e66fe809..6f097e6dc4 100644
--- a/library/WT/Report/Base_Line.php
+++ b/library/WT/Report/Base_Line.php
@@ -1,8 +1,4 @@
<?php
-// Base Report Generator
-//
-// used by the SAX parser to generate reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_Base_Line - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_Base_Line extends WT_Report_Base_Element {
/**
* Start horizontal position, current position (default)
diff --git a/library/WT/Report/Base_PageHeader.php b/library/WT/Report/Base_PageHeader.php
index 2b20344341..17c4cb3e9f 100644
--- a/library/WT/Report/Base_PageHeader.php
+++ b/library/WT/Report/Base_PageHeader.php
@@ -1,8 +1,4 @@
<?php
-// Base Report Generator
-//
-// used by the SAX parser to generate reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_Base_PageHeader - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_Base_PageHeader extends WT_Report_Base_Element {
public $elements = array();
diff --git a/library/WT/Report/Base_Text.php b/library/WT/Report/Base_Text.php
index 44108a72db..aea64a14f3 100644
--- a/library/WT/Report/Base_Text.php
+++ b/library/WT/Report/Base_Text.php
@@ -1,8 +1,4 @@
<?php
-// Base Report Generator
-//
-// used by the SAX parser to generate reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_Base_Text - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_Base_Text extends WT_Report_Base_Element {
/**
* Text color in HTML code
diff --git a/library/WT/Report/Base_TextBox.php b/library/WT/Report/Base_TextBox.php
index 110fc46314..94497bdb3c 100644
--- a/library/WT/Report/Base_TextBox.php
+++ b/library/WT/Report/Base_TextBox.php
@@ -1,8 +1,4 @@
<?php
-// Base Report Generator
-//
-// used by the SAX parser to generate reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_Base_TextBox - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_Base_TextBox extends WT_Report_Base_Element {
/**
* Array of elements in the TextBox
diff --git a/library/WT/Report/HTML_Cell.php b/library/WT/Report/HTML_Cell.php
index 59aa1ce64b..20a02ec897 100644
--- a/library/WT/Report/HTML_Cell.php
+++ b/library/WT/Report/HTML_Cell.php
@@ -1,8 +1,4 @@
<?php
-// HTML Report Generator
-//
-// used by the SAX parser to generate HTML reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_HTML_Cell - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_HTML_Cell extends WT_Report_Base_Cell {
/**
* HTML Cell renderer
diff --git a/library/WT/Report/HTML_Html.php b/library/WT/Report/HTML_Html.php
index e22085f3a0..45a6ed73c2 100644
--- a/library/WT/Report/HTML_Html.php
+++ b/library/WT/Report/HTML_Html.php
@@ -1,8 +1,4 @@
<?php
-// HTML Report Generator
-//
-// used by the SAX parser to generate HTML reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_HTML_Html - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_HTML_Html extends WT_Report_Base_Html {
/**
* @param WT_Report_HTML $renderer
diff --git a/library/WT/Report/HTML_Line.php b/library/WT/Report/HTML_Line.php
index 5ecd9e75bd..4c164c5de1 100644
--- a/library/WT/Report/HTML_Line.php
+++ b/library/WT/Report/HTML_Line.php
@@ -1,8 +1,4 @@
<?php
-// HTML Report Generator
-//
-// used by the SAX parser to generate HTML reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_HTML_Line - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_HTML_Line extends WT_Report_Base_Line {
/**
* HTML line renderer
diff --git a/library/WT/Report/HTML_Text.php b/library/WT/Report/HTML_Text.php
index a0f5e1ac39..65d03b14d1 100644
--- a/library/WT/Report/HTML_Text.php
+++ b/library/WT/Report/HTML_Text.php
@@ -1,8 +1,4 @@
<?php
-// HTML Report Generator
-//
-// used by the SAX parser to generate HTML reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_HTML_Text - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_HTML_Text extends WT_Report_Base_Text {
/**
* @param WT_Report_HTML $renderer
diff --git a/library/WT/Report/HTML_TextBox.php b/library/WT/Report/HTML_TextBox.php
index abf2263ee8..f1460aef28 100644
--- a/library/WT/Report/HTML_TextBox.php
+++ b/library/WT/Report/HTML_TextBox.php
@@ -1,8 +1,4 @@
<?php
-// HTML Report Generator
-//
-// used by the SAX parser to generate HTML reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_HTML_TextBox - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_HTML_TextBox extends WT_Report_Base_TextBox {
/**
* @param WT_Report_HTML $renderer
diff --git a/library/WT/Report/PDF_Cell.php b/library/WT/Report/PDF_Cell.php
index c80c3bab4a..a06b404117 100644
--- a/library/WT/Report/PDF_Cell.php
+++ b/library/WT/Report/PDF_Cell.php
@@ -1,9 +1,4 @@
<?php
-
-// PDF Report Generator
-//
-// used by the SAX parser to generate PDF reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -24,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_PDF_Cell - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_PDF_Cell extends WT_Report_Base_Cell {
/**
* PDF Cell renderer
diff --git a/library/WT/Report/PDF_Footnote.php b/library/WT/Report/PDF_Footnote.php
index 12e1fd65f2..e78599bbcc 100644
--- a/library/WT/Report/PDF_Footnote.php
+++ b/library/WT/Report/PDF_Footnote.php
@@ -1,8 +1,4 @@
<?php
-// PDF Report Generator
-//
-// used by the SAX parser to generate PDF reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_PDF_Footnote - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_PDF_Footnote extends WT_Report_Base_Footnote {
/**
* PDF Footnotes number renderer
diff --git a/library/WT/Report/PDF_Html.php b/library/WT/Report/PDF_Html.php
index 9dc7c67648..31867c8cdf 100644
--- a/library/WT/Report/PDF_Html.php
+++ b/library/WT/Report/PDF_Html.php
@@ -1,8 +1,4 @@
<?php
-// PDF Report Generator
-//
-// used by the SAX parser to generate PDF reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_PDF_Html - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_PDF_Html extends WT_Report_Base_Html {
/**
* @param $renderer
diff --git a/library/WT/Report/PDF_Line.php b/library/WT/Report/PDF_Line.php
index caf3218028..6457566c2f 100644
--- a/library/WT/Report/PDF_Line.php
+++ b/library/WT/Report/PDF_Line.php
@@ -1,8 +1,4 @@
<?php
-// PDF Report Generator
-//
-// used by the SAX parser to generate PDF reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_PDF_Line - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_PDF_Line extends WT_Report_Base_Line {
/**
* PDF line renderer
diff --git a/library/WT/Report/PDF_Text.php b/library/WT/Report/PDF_Text.php
index 265b4ab43f..750c19facf 100644
--- a/library/WT/Report/PDF_Text.php
+++ b/library/WT/Report/PDF_Text.php
@@ -1,8 +1,4 @@
<?php
-// PDF Report Generator
-//
-// used by the SAX parser to generate PDF reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_PDF_Text - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_PDF_Text extends WT_Report_Base_Text {
/**
* PDF Text renderer
diff --git a/library/WT/Report/PDF_TextBox.php b/library/WT/Report/PDF_TextBox.php
index ef0fc27d8f..27463ce906 100644
--- a/library/WT/Report/PDF_TextBox.php
+++ b/library/WT/Report/PDF_TextBox.php
@@ -1,8 +1,4 @@
<?php
-// PDF Report Generator
-//
-// used by the SAX parser to generate PDF reports from the XML report file.
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -23,6 +19,10 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Report_PDF_TextBox - Base Report Generator, used by the SAX
+ * parser to generate reports from the XML report file.
+ */
class WT_Report_PDF_TextBox extends WT_Report_Base_TextBox {
/**
* PDF Text Box renderer
diff --git a/library/WT/Repository.php b/library/WT/Repository.php
index 500e46c594..ffc1f092b9 100644
--- a/library/WT/Repository.php
+++ b/library/WT/Repository.php
@@ -1,6 +1,4 @@
<?php
-// Class file for a Repository (REPO) object
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Repository - Class file for a Repository (REPO) object
+ */
class WT_Repository extends WT_GedcomRecord {
const RECORD_TYPE = 'REPO';
const URL_PREFIX = 'repo.php?rid=';
diff --git a/library/WT/Source.php b/library/WT/Source.php
index fb539c1ae1..fbc4e362f4 100644
--- a/library/WT/Source.php
+++ b/library/WT/Source.php
@@ -1,6 +1,4 @@
<?php
-// Class file for a Source (SOUR) object
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team.
//
@@ -21,6 +19,9 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+/**
+ * Class WT_Source - A GEDCOM source (SOUR) object
+ */
class WT_Source extends WT_GedcomRecord {
const RECORD_TYPE = 'SOUR';
const URL_PREFIX = 'source.php?sid=';
diff --git a/library/WT/Tree.php b/library/WT/Tree.php
index c15b1cfb13..7dfdbdc489 100644
--- a/library/WT/Tree.php
+++ b/library/WT/Tree.php
@@ -1,6 +1,4 @@
<?php
-// Provide an interface to the wt_gedcom table
-//
// webtrees: Web based Family History software
// Copyright (C) 2014 webtrees development team
//
@@ -22,6 +20,9 @@ use WT\Auth;
use WT\Log;
use WT\User;
+/**
+ * Class WT_Tree - Provide an interface to the wt_gedcom table
+ */
class WT_Tree {
// Tree attributes
public $tree_id; // The "gedcom ID" number
@@ -41,8 +42,15 @@ class WT_Tree {
/** @var string[][] Cached copy of the wt_user_gedcom_setting table. */
private $user_preferences = array();
- // Create a tree object. This is a private constructor - it can only
- // be called from WT_Tree::getAll() to ensure proper initialisation.
+ /**
+ * Create a tree object. This is a private constructor - it can only
+ * be called from WT_Tree::getAll() to ensure proper initialisation.
+ *
+ * @param $tree_id
+ * @param $tree_name
+ * @param $tree_title
+ * @param $imported
+ */
private function __construct($tree_id, $tree_name, $tree_title, $imported) {
$this->tree_id = $tree_id;
$this->tree_name = $tree_name;
@@ -153,7 +161,13 @@ class WT_Tree {
return $this;
}
- // Can a user accept changes for this tree?
+ /**
+ * Can a user accept changes for this tree?
+ *
+ * @param User $user
+ *
+ * @return boolean
+ */
public function canAcceptChanges(User $user) {
return Auth::isModerator($this, $user);
}
diff --git a/lifespan.php b/lifespan.php
index a9df66d2d0..250a346e40 100644
--- a/lifespan.php
+++ b/lifespan.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/login.php b/login.php
index a0f794c015..4d5bceecc1 100644
--- a/login.php
+++ b/login.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/mediafirewall.php b/mediafirewall.php
index c780fd55c5..90b4367693 100644
--- a/mediafirewall.php
+++ b/mediafirewall.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/medialist.php b/medialist.php
index e211514588..030e68f180 100644
--- a/medialist.php
+++ b/medialist.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/mediaviewer.php b/mediaviewer.php
index 872dd0a7f2..679779b704 100644
--- a/mediaviewer.php
+++ b/mediaviewer.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/module.php b/module.php
index 98149a418a..d9436aac80 100644
--- a/module.php
+++ b/module.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/CENS_ctrl.php b/modules_v3/GEDFact_assistant/CENS_ctrl.php
index d5eb11193e..0f9475eb26 100644
--- a/modules_v3/GEDFact_assistant/CENS_ctrl.php
+++ b/modules_v3/GEDFact_assistant/CENS_ctrl.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/MEDIA_ctrl.php b/modules_v3/GEDFact_assistant/MEDIA_ctrl.php
index 9232e61ad4..1be7456ff1 100644
--- a/modules_v3/GEDFact_assistant/MEDIA_ctrl.php
+++ b/modules_v3/GEDFact_assistant/MEDIA_ctrl.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2008 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2008 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php b/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php
index b8da08be47..2ffb3fb03f 100644
--- a/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php
+++ b/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_CENS/census_1_ctrl.php b/modules_v3/GEDFact_assistant/_CENS/census_1_ctrl.php
index 52b2c7064b..27f2b19693 100644
--- a/modules_v3/GEDFact_assistant/_CENS/census_1_ctrl.php
+++ b/modules_v3/GEDFact_assistant/_CENS/census_1_ctrl.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_CENS/census_2_source_input.php b/modules_v3/GEDFact_assistant/_CENS/census_2_source_input.php
index 82d183d2cc..56f16b61ac 100644
--- a/modules_v3/GEDFact_assistant/_CENS/census_2_source_input.php
+++ b/modules_v3/GEDFact_assistant/_CENS/census_2_source_input.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2007 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2007 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_CENS/census_3_find.php b/modules_v3/GEDFact_assistant/_CENS/census_3_find.php
index f668f2ab70..6583849c02 100644
--- a/modules_v3/GEDFact_assistant/_CENS/census_3_find.php
+++ b/modules_v3/GEDFact_assistant/_CENS/census_3_find.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php b/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php
index 21d77004e8..d759d8577c 100644
--- a/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php
+++ b/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2007 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2007 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_CENS/census_4_text.php b/modules_v3/GEDFact_assistant/_CENS/census_4_text.php
index bda38e172a..aae10424c7 100644
--- a/modules_v3/GEDFact_assistant/_CENS/census_4_text.php
+++ b/modules_v3/GEDFact_assistant/_CENS/census_4_text.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2007 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2007 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_CENS/census_5_input.php b/modules_v3/GEDFact_assistant/_CENS/census_5_input.php
index 8f160a7d80..e28664b75a 100644
--- a/modules_v3/GEDFact_assistant/_CENS/census_5_input.php
+++ b/modules_v3/GEDFact_assistant/_CENS/census_5_input.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_CENS/js/census_5_input.js.php b/modules_v3/GEDFact_assistant/_CENS/js/census_5_input.js.php
index 249190474c..ca47ba8df2 100644
--- a/modules_v3/GEDFact_assistant/_CENS/js/census_5_input.js.php
+++ b/modules_v3/GEDFact_assistant/_CENS/js/census_5_input.js.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_CENS/js/chapman_codes.js b/modules_v3/GEDFact_assistant/_CENS/js/chapman_codes.js
index af2e438ccc..1a3a6c49f6 100644
--- a/modules_v3/GEDFact_assistant/_CENS/js/chapman_codes.js
+++ b/modules_v3/GEDFact_assistant/_CENS/js/chapman_codes.js
@@ -6,7 +6,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_CENS/js/date.js b/modules_v3/GEDFact_assistant/_CENS/js/date.js
index c7c1c2ef62..51853064be 100644
--- a/modules_v3/GEDFact_assistant/_CENS/js/date.js
+++ b/modules_v3/GEDFact_assistant/_CENS/js/date.js
@@ -26,7 +26,7 @@ Date.$VERSION = 1.02;
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php b/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php
index 60688289e6..3e5cbf3512 100644
--- a/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php
+++ b/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php b/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php
index 969a892816..794f7a855f 100644
--- a/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php
+++ b/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2008 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2008 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/modules_v3/clippings/clippings_ctrl.php b/modules_v3/clippings/clippings_ctrl.php
index a81aa058bb..726a165516 100644
--- a/modules_v3/clippings/clippings_ctrl.php
+++ b/modules_v3/clippings/clippings_ctrl.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/note.php b/note.php
index 745a4f2662..3f2ef09f7e 100644
--- a/note.php
+++ b/note.php
@@ -6,7 +6,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/notelist.php b/notelist.php
index 842960c049..00aafeee82 100644
--- a/notelist.php
+++ b/notelist.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/pedigree.php b/pedigree.php
index d58de1c54b..576dd47a1a 100644
--- a/pedigree.php
+++ b/pedigree.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/relationship.php b/relationship.php
index e6d1225c6d..e15c380de4 100644
--- a/relationship.php
+++ b/relationship.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/repo.php b/repo.php
index f8ebdc364c..38bf1a4c10 100644
--- a/repo.php
+++ b/repo.php
@@ -6,7 +6,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/repolist.php b/repolist.php
index cd2f26b81c..e9a80b2e31 100644
--- a/repolist.php
+++ b/repolist.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/reportengine.php b/reportengine.php
index 401ac3712c..a81ccb787f 100644
--- a/reportengine.php
+++ b/reportengine.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/search.php b/search.php
index 00ee1f76dd..956fe5d144 100644
--- a/search.php
+++ b/search.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/source.php b/source.php
index 2e18c09d83..6f33d32f18 100644
--- a/source.php
+++ b/source.php
@@ -6,7 +6,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/sourcelist.php b/sourcelist.php
index 2dfc023fce..d51662d88c 100644
--- a/sourcelist.php
+++ b/sourcelist.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/statistics.php b/statistics.php
index d650f73338..45cd730627 100644
--- a/statistics.php
+++ b/statistics.php
@@ -8,7 +8,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/statisticsplot.php b/statisticsplot.php
index adc50bcf42..1154959430 100644
--- a/statisticsplot.php
+++ b/statisticsplot.php
@@ -8,7 +8,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/_administration/theme.php b/themes/_administration/theme.php
index ea5b37f22a..a13792f614 100644
--- a/themes/_administration/theme.php
+++ b/themes/_administration/theme.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/clouds/css-1.6.0/style.css b/themes/clouds/css-1.6.0/style.css
index 9f7d2afec1..6f09b5067c 100644
--- a/themes/clouds/css-1.6.0/style.css
+++ b/themes/clouds/css-1.6.0/style.css
@@ -6,7 +6,7 @@
*
* Derived from PhpGedView Cloudy theme
* Original author w.a. bastein http://genealogy.bastein.biz
-* Copyright (C) 2010 PGV Development Team. All rights reserved.
+* Copyright (C) 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/clouds/footer.php b/themes/clouds/footer.php
index 6491a3caba..bd9999ad49 100644
--- a/themes/clouds/footer.php
+++ b/themes/clouds/footer.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView Cloudy theme
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/clouds/header.php b/themes/clouds/header.php
index 7b58d94ad9..ae81ac6aa9 100644
--- a/themes/clouds/header.php
+++ b/themes/clouds/header.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/clouds/templates/block_main_temp.php b/themes/clouds/templates/block_main_temp.php
index 51cb39bcb2..dbfe4965a0 100644
--- a/themes/clouds/templates/block_main_temp.php
+++ b/themes/clouds/templates/block_main_temp.php
@@ -11,7 +11,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/clouds/templates/block_small_temp.php b/themes/clouds/templates/block_small_temp.php
index b442ffe57b..24af18c7d8 100644
--- a/themes/clouds/templates/block_small_temp.php
+++ b/themes/clouds/templates/block_small_temp.php
@@ -11,7 +11,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/clouds/templates/compactbox_template.php b/themes/clouds/templates/compactbox_template.php
index 33dd5def38..4a3386f801 100644
--- a/themes/clouds/templates/compactbox_template.php
+++ b/themes/clouds/templates/compactbox_template.php
@@ -8,7 +8,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/clouds/theme.php b/themes/clouds/theme.php
index 886af1f32c..5f2c28398c 100644
--- a/themes/clouds/theme.php
+++ b/themes/clouds/theme.php
@@ -6,7 +6,7 @@
//
// Derived from PhpGedView Cloudy theme
// Original author w.a. bastein http://genealogy.bastein.biz
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/aquamarine.css b/themes/colors/css-1.6.0/css/aquamarine.css
index ac317d5f93..9fc2ff4d0d 100644
--- a/themes/colors/css-1.6.0/css/aquamarine.css
+++ b/themes/colors/css-1.6.0/css/aquamarine.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/ash.css b/themes/colors/css-1.6.0/css/ash.css
index 746cd85678..c7ec2abcca 100644
--- a/themes/colors/css-1.6.0/css/ash.css
+++ b/themes/colors/css-1.6.0/css/ash.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/belgianchocolate.css b/themes/colors/css-1.6.0/css/belgianchocolate.css
index 96a8702051..f7c0af2133 100644
--- a/themes/colors/css-1.6.0/css/belgianchocolate.css
+++ b/themes/colors/css-1.6.0/css/belgianchocolate.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/bluelagoon.css b/themes/colors/css-1.6.0/css/bluelagoon.css
index 02e627545e..3c0d0db6cc 100644
--- a/themes/colors/css-1.6.0/css/bluelagoon.css
+++ b/themes/colors/css-1.6.0/css/bluelagoon.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/bluemarine.css b/themes/colors/css-1.6.0/css/bluemarine.css
index b9364ff838..54a0311e73 100644
--- a/themes/colors/css-1.6.0/css/bluemarine.css
+++ b/themes/colors/css-1.6.0/css/bluemarine.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/coffeeandcream.css b/themes/colors/css-1.6.0/css/coffeeandcream.css
index 9d6e31ddce..eabbcdff8e 100644
--- a/themes/colors/css-1.6.0/css/coffeeandcream.css
+++ b/themes/colors/css-1.6.0/css/coffeeandcream.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/coldday.css b/themes/colors/css-1.6.0/css/coldday.css
index 696d78cbc2..e5aa6c5ecf 100644
--- a/themes/colors/css-1.6.0/css/coldday.css
+++ b/themes/colors/css-1.6.0/css/coldday.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/colors.css b/themes/colors/css-1.6.0/css/colors.css
index ae50f3f406..4e23a0a36b 100644
--- a/themes/colors/css-1.6.0/css/colors.css
+++ b/themes/colors/css-1.6.0/css/colors.css
@@ -6,7 +6,7 @@
*
* Derived from PhpGedView Cloudy theme
* Original author w.a. bastein http://genealogy.bastein.biz
-* Copyright (C) 2010 PGV Development Team. All rights reserved.
+* Copyright (C) 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/greenbeam.css b/themes/colors/css-1.6.0/css/greenbeam.css
index 27d9bed5f8..db145c8871 100644
--- a/themes/colors/css-1.6.0/css/greenbeam.css
+++ b/themes/colors/css-1.6.0/css/greenbeam.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/mediterranio.css b/themes/colors/css-1.6.0/css/mediterranio.css
index 3a70a18aeb..e71db91537 100644
--- a/themes/colors/css-1.6.0/css/mediterranio.css
+++ b/themes/colors/css-1.6.0/css/mediterranio.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/mercury.css b/themes/colors/css-1.6.0/css/mercury.css
index b3c9a2ab22..542eedf6b9 100644
--- a/themes/colors/css-1.6.0/css/mercury.css
+++ b/themes/colors/css-1.6.0/css/mercury.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/nocturnal.css b/themes/colors/css-1.6.0/css/nocturnal.css
index e1ba87bc61..2c6d98f1ad 100644
--- a/themes/colors/css-1.6.0/css/nocturnal.css
+++ b/themes/colors/css-1.6.0/css/nocturnal.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/olivia.css b/themes/colors/css-1.6.0/css/olivia.css
index f699c2d56d..0847f00187 100644
--- a/themes/colors/css-1.6.0/css/olivia.css
+++ b/themes/colors/css-1.6.0/css/olivia.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/pinkplastic.css b/themes/colors/css-1.6.0/css/pinkplastic.css
index b9363957e3..50d7ec92f2 100644
--- a/themes/colors/css-1.6.0/css/pinkplastic.css
+++ b/themes/colors/css-1.6.0/css/pinkplastic.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/sage.css b/themes/colors/css-1.6.0/css/sage.css
index 9a20ad2199..4fee0ef9ac 100644
--- a/themes/colors/css-1.6.0/css/sage.css
+++ b/themes/colors/css-1.6.0/css/sage.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/shinytomato.css b/themes/colors/css-1.6.0/css/shinytomato.css
index 7c48632a22..7059560e09 100644
--- a/themes/colors/css-1.6.0/css/shinytomato.css
+++ b/themes/colors/css-1.6.0/css/shinytomato.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/css-1.6.0/css/tealtop.css b/themes/colors/css-1.6.0/css/tealtop.css
index c84435ed2f..0a2c011d1c 100644
--- a/themes/colors/css-1.6.0/css/tealtop.css
+++ b/themes/colors/css-1.6.0/css/tealtop.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
- * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+ * Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/footer.php b/themes/colors/footer.php
index 0e61e11255..868c29eaff 100644
--- a/themes/colors/footer.php
+++ b/themes/colors/footer.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/header.php b/themes/colors/header.php
index 54df00b2dd..da08c42b89 100644
--- a/themes/colors/header.php
+++ b/themes/colors/header.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/templates/block_main_temp.php b/themes/colors/templates/block_main_temp.php
index 51cb39bcb2..dbfe4965a0 100644
--- a/themes/colors/templates/block_main_temp.php
+++ b/themes/colors/templates/block_main_temp.php
@@ -11,7 +11,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/templates/block_small_temp.php b/themes/colors/templates/block_small_temp.php
index b442ffe57b..24af18c7d8 100644
--- a/themes/colors/templates/block_small_temp.php
+++ b/themes/colors/templates/block_small_temp.php
@@ -11,7 +11,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/templates/compactbox_template.php b/themes/colors/templates/compactbox_template.php
index 33dd5def38..4a3386f801 100644
--- a/themes/colors/templates/compactbox_template.php
+++ b/themes/colors/templates/compactbox_template.php
@@ -8,7 +8,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/colors/theme.php b/themes/colors/theme.php
index 4e8061e795..a753aca8fe 100644
--- a/themes/colors/theme.php
+++ b/themes/colors/theme.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/fab/templates/compactbox_template.php b/themes/fab/templates/compactbox_template.php
index 33dd5def38..4a3386f801 100644
--- a/themes/fab/templates/compactbox_template.php
+++ b/themes/fab/templates/compactbox_template.php
@@ -8,7 +8,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/minimal/css-1.6.0/style.css b/themes/minimal/css-1.6.0/style.css
index 3c80e320b0..0db4b24e41 100644
--- a/themes/minimal/css-1.6.0/style.css
+++ b/themes/minimal/css-1.6.0/style.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
-* Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+* Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/minimal/footer.php b/themes/minimal/footer.php
index 03ac090761..49b7997c4a 100644
--- a/themes/minimal/footer.php
+++ b/themes/minimal/footer.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/minimal/header.php b/themes/minimal/header.php
index c729048ddf..0de62eb8ec 100644
--- a/themes/minimal/header.php
+++ b/themes/minimal/header.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/minimal/templates/block_main_temp.php b/themes/minimal/templates/block_main_temp.php
index 6547680664..0f0b4416e0 100644
--- a/themes/minimal/templates/block_main_temp.php
+++ b/themes/minimal/templates/block_main_temp.php
@@ -11,7 +11,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2008 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2008 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/minimal/templates/block_small_temp.php b/themes/minimal/templates/block_small_temp.php
index a5b3dce596..37e618400c 100644
--- a/themes/minimal/templates/block_small_temp.php
+++ b/themes/minimal/templates/block_small_temp.php
@@ -11,7 +11,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2008 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2008 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/minimal/templates/compactbox_template.php b/themes/minimal/templates/compactbox_template.php
index 33dd5def38..4a3386f801 100644
--- a/themes/minimal/templates/compactbox_template.php
+++ b/themes/minimal/templates/compactbox_template.php
@@ -8,7 +8,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/minimal/theme.php b/themes/minimal/theme.php
index b2e3b60cf0..d20f8d4b3b 100644
--- a/themes/minimal/theme.php
+++ b/themes/minimal/theme.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/webtrees/css-1.6.0/style.css b/themes/webtrees/css-1.6.0/style.css
index a08c4e42b8..cceb993a30 100644
--- a/themes/webtrees/css-1.6.0/style.css
+++ b/themes/webtrees/css-1.6.0/style.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
-* Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+* Copyright (C) 2002 to 2009 PGV Development Team.
*
* Mime-type icons from http://gnome-look.org, published under GPL (v2)
*
diff --git a/themes/webtrees/footer.php b/themes/webtrees/footer.php
index b0b0586c64..89b9b9b64d 100644
--- a/themes/webtrees/footer.php
+++ b/themes/webtrees/footer.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/webtrees/header.php b/themes/webtrees/header.php
index 5857336e8e..44dab36335 100644
--- a/themes/webtrees/header.php
+++ b/themes/webtrees/header.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/webtrees/templates/block_main_temp.php b/themes/webtrees/templates/block_main_temp.php
index f6360334ce..41dc615aa9 100644
--- a/themes/webtrees/templates/block_main_temp.php
+++ b/themes/webtrees/templates/block_main_temp.php
@@ -11,7 +11,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/webtrees/templates/block_small_temp.php b/themes/webtrees/templates/block_small_temp.php
index c9e766a5a0..8fa95335ed 100644
--- a/themes/webtrees/templates/block_small_temp.php
+++ b/themes/webtrees/templates/block_small_temp.php
@@ -11,7 +11,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/webtrees/templates/compactbox_template.php b/themes/webtrees/templates/compactbox_template.php
index 33dd5def38..4a3386f801 100644
--- a/themes/webtrees/templates/compactbox_template.php
+++ b/themes/webtrees/templates/compactbox_template.php
@@ -8,7 +8,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/webtrees/theme.php b/themes/webtrees/theme.php
index 49716d0637..d294154c6a 100644
--- a/themes/webtrees/theme.php
+++ b/themes/webtrees/theme.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/xenea/css-1.6.0/style.css b/themes/xenea/css-1.6.0/style.css
index a1140d8f40..46b0eb79d7 100644
--- a/themes/xenea/css-1.6.0/style.css
+++ b/themes/xenea/css-1.6.0/style.css
@@ -5,7 +5,7 @@
* Copyright (C) 2014 webtrees development team.
*
* Derived from PhpGedView
-* Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+* Copyright (C) 2002 to 2010 PGV Development Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/themes/xenea/footer.php b/themes/xenea/footer.php
index 2fa5fe87bb..e6f8de65f0 100644
--- a/themes/xenea/footer.php
+++ b/themes/xenea/footer.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/xenea/header.php b/themes/xenea/header.php
index e272e36d57..dfdc07a499 100644
--- a/themes/xenea/header.php
+++ b/themes/xenea/header.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/xenea/templates/block_main_temp.php b/themes/xenea/templates/block_main_temp.php
index 6547680664..0f0b4416e0 100644
--- a/themes/xenea/templates/block_main_temp.php
+++ b/themes/xenea/templates/block_main_temp.php
@@ -11,7 +11,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2008 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2008 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/xenea/templates/block_small_temp.php b/themes/xenea/templates/block_small_temp.php
index a5b3dce596..37e618400c 100644
--- a/themes/xenea/templates/block_small_temp.php
+++ b/themes/xenea/templates/block_small_temp.php
@@ -11,7 +11,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2008 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2008 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/xenea/templates/compactbox_template.php b/themes/xenea/templates/compactbox_template.php
index 33dd5def38..4a3386f801 100644
--- a/themes/xenea/templates/compactbox_template.php
+++ b/themes/xenea/templates/compactbox_template.php
@@ -8,7 +8,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/themes/xenea/theme.php b/themes/xenea/theme.php
index 608bd86d90..bdd03110ed 100644
--- a/themes/xenea/theme.php
+++ b/themes/xenea/theme.php
@@ -5,7 +5,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2010 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
diff --git a/timeline.php b/timeline.php
index 99734c6cc1..56e1b3f95f 100644
--- a/timeline.php
+++ b/timeline.php
@@ -7,7 +7,7 @@
// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
-// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
+// Copyright (C) 2002 to 2009 PGV Development Team.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by