StatehistoryView, initial commit

This commit is contained in:
Thomas Gelf 2013-08-21 00:31:25 +02:00 committed by Eric Lippmann
parent f6ef3faefb
commit aac0570382
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<?php
namespace Icinga\Monitoring\View;
class StatehistoryView extends AbstractView
{
protected $availableColumns = array(
'raw_timestamp',
'timestamp',
'state',
'attempt',
'max_attempts',
'output',
'type'
);
protected $sortDefaults = array(
'timestamp' => array(
'columns' => array('raw_timestamp'),
'default_dir' => self::SORT_DESC
),
);
}