From fa38998e3d2bc043c062e95adf69de38db9a3a6e Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 17 Aug 2015 13:47:13 +0200 Subject: [PATCH] DataView\Customvar: Adjust how to handle filter columns refs #9029 --- .../library/Monitoring/DataView/Customvar.php | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/modules/monitoring/library/Monitoring/DataView/Customvar.php b/modules/monitoring/library/Monitoring/DataView/Customvar.php index c6f0ff187..1e716a513 100644 --- a/modules/monitoring/library/Monitoring/DataView/Customvar.php +++ b/modules/monitoring/library/Monitoring/DataView/Customvar.php @@ -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'); }