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 'plugins/Annotations/AnnotationList.php')
-rwxr-xr-xplugins/Annotations/AnnotationList.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/Annotations/AnnotationList.php b/plugins/Annotations/AnnotationList.php
index 0f5ba42ae9..75b4d95df1 100755
--- a/plugins/Annotations/AnnotationList.php
+++ b/plugins/Annotations/AnnotationList.php
@@ -6,8 +6,11 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @category Piwik_Plugins
- * @package Piwik_Annotations
+ * @package Annotations
*/
+namespace Piwik\Plugins\Annotations;
+
+use Exception;
use Piwik\Piwik;
use Piwik\Date;
use Piwik\Site;
@@ -17,7 +20,7 @@ use Piwik\Site;
* at once.
*
* Example use:
- * $annotations = new Piwik_Annotations_AnnotationList($idSites = "1,2,5");
+ * $annotations = new AnnotationList($idSites = "1,2,5");
* $annotation = $annotations->get($idSite = 1, $idNote = 4);
* // do stuff w/ annotation
* $annotations->update($idSite = 2, $idNote = 4, $note = "This is the new text.");
@@ -27,9 +30,9 @@ use Piwik\Site;
* an annotation for the same site, it's possible one of their changes will
* never get made (as it will be overwritten by the other's).
*
- * @package Piwik_Annotations
+ * @package Annotations
*/
-class Piwik_Annotations_AnnotationList
+class AnnotationList
{
const ANNOTATION_COLLECTION_OPTION_SUFFIX = '_annotations';