summaryrefslogtreecommitdiff
path: root/app/Report
diff options
context:
space:
mode:
Diffstat (limited to 'app/Report')
-rw-r--r--app/Report/ReportBaseCell.php2
-rw-r--r--app/Report/ReportBaseFootnote.php2
-rw-r--r--app/Report/ReportBaseHtml.php2
-rw-r--r--app/Report/ReportBaseImage.php2
-rw-r--r--app/Report/ReportBaseLine.php2
-rw-r--r--app/Report/ReportBasePageheader.php2
-rw-r--r--app/Report/ReportBaseText.php2
-rw-r--r--app/Report/ReportBaseTextbox.php2
8 files changed, 8 insertions, 8 deletions
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;