Tables: Add the searchColumn property

refs #9729
This commit is contained in:
Alexander Fuhr 2015-07-29 15:30:10 +02:00
parent 99027a343d
commit 5887570ca2
16 changed files with 64 additions and 0 deletions

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class DatafieldTable extends QuickTable
{
protected $searchColumns = array(
'varname',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class DatalistEntryTable extends QuickTable
{
protected $searchColumns = array(
'entry_name',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class DatalistTable extends QuickTable
{
protected $searchColumns = array(
'list_name',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaCommandArgumentTable extends QuickTable
{
protected $searchColumns = array(
'command',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaCommandTable extends QuickTable
{
protected $searchColumns = array(
'command',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaEndpointTable extends QuickTable
{
protected $searchColumns = array(
'endpoint',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaHostGroupTable extends QuickTable
{
protected $searchColumns = array(
'hostgroup',
);
public function getColumns()
{
return array(

View File

@ -7,6 +7,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaHostTable extends QuickTable
{
protected $searchColumns = array(
'host',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaServiceGroupTable extends QuickTable
{
protected $searchColumns = array(
'servicegroup',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaServiceTable extends QuickTable
{
protected $searchColumns = array(
'service',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaTimePeriodTable extends QuickTable
{
protected $searchColumns = array(
'timeperiod',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaUserGroupTable extends QuickTable
{
protected $searchColumns = array(
'usergroup',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaUserTable extends QuickTable
{
protected $searchColumns = array(
'user',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaZoneTable extends QuickTable
{
protected $searchColumns = array(
'zone',
);
public function getColumns()
{
if ($this->connection()->getDbType() === 'pgsql') {

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class ImportrunTable extends QuickTable
{
protected $searchColumns = array(
'source_name',
);
public function getColumns()
{
return array(

View File

@ -6,6 +6,10 @@ use Icinga\Module\Director\Web\Table\QuickTable;
class ImportsourceTable extends QuickTable
{
protected $searchColumns = array(
'source_name',
);
public function getColumns()
{
return array(