DataView\Customvar: Adjust how to handle filter columns

refs #9029
This commit is contained in:
Johannes Meyer 2015-08-17 13:47:13 +02:00
parent 1643ec4358
commit fa38998e3d
1 changed files with 6 additions and 10 deletions

View File

@ -3,15 +3,10 @@
namespace Icinga\Module\Monitoring\DataView;
/**
* Represent customvar view
*/
class Customvar extends DataView
{
/**
* Retrieve columns provided by this view
*
* @return array
* {@inheritdoc}
*/
public function getColumns()
{
@ -28,9 +23,7 @@ class Customvar extends DataView
}
/**
* Retrieve default sorting rules for particular columns. These involve sort order and potential additional to sort
*
* @return array
* {@inheritdoc}
*/
public function getSortRules()
{
@ -44,7 +37,10 @@ class Customvar extends DataView
);
}
public function getFilterColumns()
/**
* {@inheritdoc}
*/
public function getStaticFilterColumns()
{
return array('host', 'service', 'contact');
}