diff options
| -rw-r--r-- | app/Controller/AdvancedSearchController.php | 2 | ||||
| -rw-r--r-- | app/Controller/AncestryController.php | 2 | ||||
| -rw-r--r-- | app/Controller/DescendancyController.php | 2 | ||||
| -rw-r--r-- | app/Controller/HourglassController.php | 2 | ||||
| -rw-r--r-- | app/Controller/IndividualController.php | 2 | ||||
| -rw-r--r-- | app/Controller/LifespanController.php | 2 | ||||
| -rw-r--r-- | app/Controller/SearchController.php | 2 | ||||
| -rw-r--r-- | app/Controller/TimelineController.php | 2 | ||||
| -rw-r--r-- | app/Date.php | 2 | ||||
| -rw-r--r-- | app/Family.php | 2 | ||||
| -rw-r--r-- | app/Report/ReportBaseCell.php | 2 | ||||
| -rw-r--r-- | app/Report/ReportBaseFootnote.php | 2 | ||||
| -rw-r--r-- | app/Report/ReportBaseHtml.php | 2 | ||||
| -rw-r--r-- | app/Report/ReportBaseImage.php | 2 | ||||
| -rw-r--r-- | app/Report/ReportBaseLine.php | 2 | ||||
| -rw-r--r-- | app/Report/ReportBasePageheader.php | 2 | ||||
| -rw-r--r-- | app/Report/ReportBaseText.php | 2 | ||||
| -rw-r--r-- | app/Report/ReportBaseTextbox.php | 2 | ||||
| -rw-r--r-- | modules_v3/tree/class_treeview.php | 2 |
19 files changed, 19 insertions, 19 deletions
diff --git a/app/Controller/AdvancedSearchController.php b/app/Controller/AdvancedSearchController.php index 143504a42c..b189201f37 100644 --- a/app/Controller/AdvancedSearchController.php +++ b/app/Controller/AdvancedSearchController.php @@ -28,7 +28,7 @@ class AdvancedSearchController extends SearchController { /** * Startup activity */ - function __construct() { + public function __construct() { parent::__construct(); $this->setPageTitle(I18N::translate('Advanced search')); diff --git a/app/Controller/AncestryController.php b/app/Controller/AncestryController.php index ec600bc535..2f2f2e6a8c 100644 --- a/app/Controller/AncestryController.php +++ b/app/Controller/AncestryController.php @@ -34,7 +34,7 @@ class AncestryController extends ChartController { /** * Startup activity */ - function __construct() { + public function __construct() { global $bwidth, $bheight, $pbwidth, $pbheight, $show_full; global $PEDIGREE_GENERATIONS, $WT_TREE, $OLD_PGENS, $box_width, $Dbwidth, $Dbheight; diff --git a/app/Controller/DescendancyController.php b/app/Controller/DescendancyController.php index 3990417976..16fdeb25bf 100644 --- a/app/Controller/DescendancyController.php +++ b/app/Controller/DescendancyController.php @@ -48,7 +48,7 @@ class DescendancyController extends ChartController { /** * Create the descendancy controller */ - function __construct() { + public function __construct() { global $bwidth, $bheight, $pbwidth, $pbheight, $WT_TREE, $show_full; parent::__construct(); diff --git a/app/Controller/HourglassController.php b/app/Controller/HourglassController.php index b03df6eba9..291ad367c5 100644 --- a/app/Controller/HourglassController.php +++ b/app/Controller/HourglassController.php @@ -48,7 +48,7 @@ class HourglassController extends ChartController { * @param integer $show_full * @param boolean $loadJS */ - function __construct($rootid = '', $show_full = 1, $loadJS = true) { + public function __construct($rootid = '', $show_full = 1, $loadJS = true) { global $bheight, $bwidth, $WT_TREE, $show_full; parent::__construct(); diff --git a/app/Controller/IndividualController.php b/app/Controller/IndividualController.php index f787adb79c..2081f86262 100644 --- a/app/Controller/IndividualController.php +++ b/app/Controller/IndividualController.php @@ -30,7 +30,7 @@ class IndividualController extends GedcomRecordController { /** * Startup activity */ - function __construct() { + public function __construct() { global $WT_TREE; $xref = Filter::get('pid', WT_REGEX_XREF); diff --git a/app/Controller/LifespanController.php b/app/Controller/LifespanController.php index 2e506aefb6..ad5b2edbb5 100644 --- a/app/Controller/LifespanController.php +++ b/app/Controller/LifespanController.php @@ -63,7 +63,7 @@ class LifespanController extends PageController { /** * Startup activity */ - function __construct() { + public function __construct() { global $WT_SESSION; parent::__construct(); diff --git a/app/Controller/SearchController.php b/app/Controller/SearchController.php index 2fdfe5d5e3..52a8bad892 100644 --- a/app/Controller/SearchController.php +++ b/app/Controller/SearchController.php @@ -74,7 +74,7 @@ class SearchController extends PageController { /** * Startup activity */ - function __construct() { + public function __construct() { global $WT_TREE; parent::__construct(); diff --git a/app/Controller/TimelineController.php b/app/Controller/TimelineController.php index 5f8ed407ce..3a810fb592 100644 --- a/app/Controller/TimelineController.php +++ b/app/Controller/TimelineController.php @@ -59,7 +59,7 @@ class TimelineController extends PageController { /** * Startup activity */ - function __construct() { + public function __construct() { parent::__construct(); $this->setPageTitle(I18N::translate('Timeline')); diff --git a/app/Date.php b/app/Date.php index f8b8212d5a..cbd3d2b109 100644 --- a/app/Date.php +++ b/app/Date.php @@ -69,7 +69,7 @@ class Date { * * @param string $date A date in GEDCOM format */ - function __construct($date) { + public function __construct($date) { // Extract any explanatory text if (preg_match('/^(.*) ?[(](.*)[)]/', $date, $match)) { $date = $match[1]; diff --git a/app/Family.php b/app/Family.php index 8d71bc53c5..2fcf2f32c0 100644 --- a/app/Family.php +++ b/app/Family.php @@ -30,7 +30,7 @@ class Family extends GedcomRecord { private $wife; /** {@inheritdoc} */ - function __construct($xref, $gedcom, $pending, $gedcom_id) { + public function __construct($xref, $gedcom, $pending, $gedcom_id) { parent::__construct($xref, $gedcom, $pending, $gedcom_id); // Fetch husband and wife diff --git a/app/Report/ReportBaseCell.php b/app/Report/ReportBaseCell.php index 869ce09b61..2aa4f986e3 100644 --- a/app/Report/ReportBaseCell.php +++ b/app/Report/ReportBaseCell.php @@ -129,7 +129,7 @@ class ReportBaseCell extends ReportBaseElement { * @param string $tcolor Text color * @param $reseth */ - function __construct( + public function __construct( $width, $height, $border, $align, $bgcolor, $style, $ln, $top, $left, $fill, $stretch, $bocolor, $tcolor, $reseth ) { $this->align = $align; diff --git a/app/Report/ReportBaseFootnote.php b/app/Report/ReportBaseFootnote.php index 66f0ff0e7f..87c66a02f8 100644 --- a/app/Report/ReportBaseFootnote.php +++ b/app/Report/ReportBaseFootnote.php @@ -60,7 +60,7 @@ class ReportBaseFootnote extends ReportBaseElement { /** * @param string $style */ - function __construct($style = "") { + public function __construct($style = "") { $this->text = ""; if (!empty($style)) { $this->styleName = $style; diff --git a/app/Report/ReportBaseHtml.php b/app/Report/ReportBaseHtml.php index 9a876eea93..0c2b812d6d 100644 --- a/app/Report/ReportBaseHtml.php +++ b/app/Report/ReportBaseHtml.php @@ -28,7 +28,7 @@ class ReportBaseHtml extends ReportBaseElement { * @param $tag * @param $attrs */ - function __construct($tag, $attrs) { + public function __construct($tag, $attrs) { $this->tag = $tag; $this->attrs = $attrs; diff --git a/app/Report/ReportBaseImage.php b/app/Report/ReportBaseImage.php index 089314a2ac..26df6166bc 100644 --- a/app/Report/ReportBaseImage.php +++ b/app/Report/ReportBaseImage.php @@ -74,7 +74,7 @@ class ReportBaseImage extends ReportBaseElement { * @param string $align Placement of the image. L: left, C:center, R:right * @param string $ln T:same line, N:next line */ - function __construct($file, $x, $y, $w, $h, $align, $ln) { + public function __construct($file, $x, $y, $w, $h, $align, $ln) { $this->file = $file; $this->width = $w; $this->height = $h; diff --git a/app/Report/ReportBaseLine.php b/app/Report/ReportBaseLine.php index 008909cf09..a033aa0891 100644 --- a/app/Report/ReportBaseLine.php +++ b/app/Report/ReportBaseLine.php @@ -53,7 +53,7 @@ class ReportBaseLine extends ReportBaseElement { * @param mixed $x2 * @param mixed $y2 */ - function __construct($x1, $y1, $x2, $y2) { + public function __construct($x1, $y1, $x2, $y2) { $this->x1 = $x1; $this->y1 = $y1; $this->x2 = $x2; diff --git a/app/Report/ReportBasePageheader.php b/app/Report/ReportBasePageheader.php index 8ce45eb47c..fb72f18e28 100644 --- a/app/Report/ReportBasePageheader.php +++ b/app/Report/ReportBasePageheader.php @@ -25,7 +25,7 @@ class ReportBasePageheader extends ReportBaseElement { /** * */ - function __construct() { + public function __construct() { $this->elements = array(); return 0; diff --git a/app/Report/ReportBaseText.php b/app/Report/ReportBaseText.php index 944afe7233..7c5bdac763 100644 --- a/app/Report/ReportBaseText.php +++ b/app/Report/ReportBaseText.php @@ -51,7 +51,7 @@ class ReportBaseText extends ReportBaseElement { * @param string $style The name of the text style * @param string $color HTML color code */ - function __construct($style, $color) { + public function __construct($style, $color) { $this->text = ''; $this->color = $color; $this->wrapWidthRemaining = 0; diff --git a/app/Report/ReportBaseTextbox.php b/app/Report/ReportBaseTextbox.php index a4a8bae4eb..f5df6c2eb5 100644 --- a/app/Report/ReportBaseTextbox.php +++ b/app/Report/ReportBaseTextbox.php @@ -134,7 +134,7 @@ class ReportBaseTextbox extends ReportBaseElement { * @param boolean $padding * @param boolean $reseth */ - function __construct( + public function __construct( $width, $height, $border, $bgcolor, $newline, $left, $top, $pagecheck, $style, $fill, $padding, $reseth ) { $this->border = $border; diff --git a/modules_v3/tree/class_treeview.php b/modules_v3/tree/class_treeview.php index 7551e331b1..0dc21ff173 100644 --- a/modules_v3/tree/class_treeview.php +++ b/modules_v3/tree/class_treeview.php @@ -28,7 +28,7 @@ class TreeView { * * @param string $name the name of the TreeView object’s instance */ - function __construct($name = 'tree') { + public function __construct($name = 'tree') { $this->name = $name; $this->all_partners = Filter::cookie('allPartners', 'true|false', 'true'); } |
