2013-10-20 16:08:01 +02:00
|
|
|
<?php
|
2013-10-23 15:10:33 +02:00
|
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
2013-10-20 16:08:01 +02:00
|
|
|
|
2014-02-12 09:58:59 +01:00
|
|
|
namespace Icinga\Web\Hook;
|
2013-10-20 16:08:01 +02:00
|
|
|
|
2014-08-27 11:16:44 +02:00
|
|
|
use Icinga\Web\Request;
|
|
|
|
use Zend_View;
|
2013-10-20 16:08:01 +02:00
|
|
|
|
2014-02-11 16:21:36 +01:00
|
|
|
/**
|
|
|
|
* Hook to extend topbar items
|
|
|
|
*/
|
2014-08-26 14:29:55 +02:00
|
|
|
abstract class TopBarHook
|
2014-02-11 16:21:36 +01:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Function to generate top bar content
|
|
|
|
*
|
|
|
|
* @param Request $request
|
|
|
|
* @param Zend_View $view
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
2014-08-26 14:29:55 +02:00
|
|
|
abstract public function getHtml($request, $view);
|
2013-10-20 16:08:01 +02:00
|
|
|
}
|