Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Plugin/Report.php')
-rw-r--r--core/Plugin/Report.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/core/Plugin/Report.php b/core/Plugin/Report.php
index ac8b401363..8f0619c998 100644
--- a/core/Plugin/Report.php
+++ b/core/Plugin/Report.php
@@ -135,7 +135,7 @@ class Report
protected $isSubtableReport = false;
/**
- * Some reports may require additonal URL parameters that need to be sent when a report is requested. For instance
+ * Some reports may require additional URL parameters that need to be sent when a report is requested. For instance
* a "goal" report might need a "goalId": `array('idgoal' => 5)`.
* @var null|array
* @api
@@ -503,6 +503,15 @@ class Report
}
/**
+ * Get report documentation.
+ * @return string
+ */
+ public function getDocumentation()
+ {
+ return $this->documentation;
+ }
+
+ /**
* Builts the report metadata for this report. Can be useful in case you want to change the behavior of
* {@link configureReportMetadata()}.
* @return array