summaryrefslogtreecommitdiffstats
path: root/application/views/helpers/Event.php
blob: f61a79363f6c2656ee534c2f7c4a6bd545b60213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/* Icinga Web 2 | (c) 2016 Icinga Development Team | GPLv2+ */

use Icinga\Module\Eventdb\Event;

class Zend_View_Helper_Event extends Zend_View_Helper_Abstract
{
    public function event($data)
    {
        return Event::fromData($data);
    }
}