diff options
Diffstat (limited to 'core/View/ViewInterface.php')
-rw-r--r-- | core/View/ViewInterface.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/core/View/ViewInterface.php b/core/View/ViewInterface.php new file mode 100644 index 0000000000..99f3370cad --- /dev/null +++ b/core/View/ViewInterface.php @@ -0,0 +1,27 @@ +<?php +/** + * Piwik - Open source web analytics + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + * @category Piwik + * @package Piwik + */ + +namespace Piwik\View; + +/** + * Rendering interface for View and Piwik_Visualization + * + * @package Piwik + */ +interface ViewInterface +{ + /** + * Outputs the data. + * + * @return mixed (image, array, html...) + */ + function render(); +} |