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
path: root/core/View
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2011-11-10 17:17:21 +0400
committerrobocoder <anthon.pang@gmail.com>2011-11-10 17:17:21 +0400
commit4dc5f6b04363597380e1b5747cf8f136e43c24c9 (patch)
treedcc22f864d94b52f2b9773d6bd21558032f78d16 /core/View
parent60c6817006344b7d611eb7e81f29f40e9d11530c (diff)
refactoring Piwik_iView to Piwik_View_Interface
git-svn-id: http://dev.piwik.org/svn/trunk@5425 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/View')
-rw-r--r--core/View/Interface.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/View/Interface.php b/core/View/Interface.php
new file mode 100644
index 0000000000..99aa7c82cd
--- /dev/null
+++ b/core/View/Interface.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Piwik - Open source web analytics
+ *
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
+ * @version $Id$
+ *
+ * @category Piwik
+ * @package Piwik
+ */
+
+/**
+ * Rendering interface for Piwik_View and Piwik_Visualization
+ *
+ * @package Piwik
+ */
+interface Piwik_View_Interface
+{
+ /**
+ * Outputs the data.
+ * @return mixed (image, array, html...)
+ */
+ function render();
+}