Thomas Gelf c77e178bc7 Monitoring\DataView: small changes
Nothing interesting here
2014-06-06 07:07:07 +00:00

35 lines
718 B
PHP

<?php
namespace Icinga\Module\Monitoring\DataView;
class Notification extends DataView
{
/**
* Retrieve columns provided by this view
*
* @return array
*/
public function getColumns()
{
return array(
'host',
'service',
'notification_state',
'notification_start_time',
'notification_contact',
'notification_output',
'notification_command'
);
}
public function getSortRules()
{
return array(
'notification_start_time' => array(
'order' => self::SORT_DESC,
'title' => 'Notification Start'
)
);
}
}