2013-08-06 18:00:33 +02:00
|
|
|
<?php
|
2016-02-08 15:41:00 +01:00
|
|
|
/* Icinga Web 2 | (c) 2013 Icinga Development Team | GPLv2+ */
|
2013-08-06 18:00:33 +02:00
|
|
|
|
|
|
|
namespace Icinga\Web\Widget;
|
|
|
|
|
|
|
|
use Icinga\Web\View;
|
2013-08-07 17:40:18 +02:00
|
|
|
use Zend_View_Abstract;
|
2013-08-06 18:00:33 +02:00
|
|
|
|
2013-08-07 17:40:18 +02:00
|
|
|
/**
|
|
|
|
* Abstract class for reusable view elements that can be
|
|
|
|
* rendered to a view
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
interface Widget
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Renders this widget via the given view and returns the
|
|
|
|
* HTML as a string
|
|
|
|
*
|
|
|
|
* @param \Zend_View_Abstract $view
|
|
|
|
* @return string
|
|
|
|
*/
|
2014-03-09 01:58:42 +01:00
|
|
|
// public function render(Zend_View_Abstract $view);
|
2013-08-07 18:10:39 +02:00
|
|
|
}
|