parent
1643ec4358
commit
fa38998e3d
|
@ -3,15 +3,10 @@
|
||||||
|
|
||||||
namespace Icinga\Module\Monitoring\DataView;
|
namespace Icinga\Module\Monitoring\DataView;
|
||||||
|
|
||||||
/**
|
|
||||||
* Represent customvar view
|
|
||||||
*/
|
|
||||||
class Customvar extends DataView
|
class Customvar extends DataView
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Retrieve columns provided by this view
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
*/
|
||||||
public function getColumns()
|
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
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
*/
|
||||||
public function getSortRules()
|
public function getSortRules()
|
||||||
{
|
{
|
||||||
|
@ -44,7 +37,10 @@ class Customvar extends DataView
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFilterColumns()
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function getStaticFilterColumns()
|
||||||
{
|
{
|
||||||
return array('host', 'service', 'contact');
|
return array('host', 'service', 'contact');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue