28 lines
514 B
PHP
28 lines
514 B
PHP
<?php
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
|
|
namespace Icinga\Module\Monitoring\DataView;
|
|
|
|
/**
|
|
* View representation for commands
|
|
*/
|
|
class Command extends DataView
|
|
{
|
|
/**
|
|
* Retrieve columns provided by this view
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getColumns()
|
|
{
|
|
return array(
|
|
'command_id',
|
|
'command_instance_id',
|
|
'command_config_type',
|
|
'command_line',
|
|
'command_name'
|
|
);
|
|
}
|
|
|
|
}
|