14 lines
290 B
PHP
14 lines
290 B
PHP
|
<?php
|
||
|
|
||
|
namespace Icinga\Module\Director\Web\Table;
|
||
|
|
||
|
use Zend_Db_Select as ZfSelect;
|
||
|
|
||
|
class ObjectsTableApiUser extends ObjectsTable
|
||
|
{
|
||
|
protected function applyObjectTypeFilter(ZfSelect $query)
|
||
|
{
|
||
|
return $query->where("o.object_type IN ('object', 'external_object')");
|
||
|
}
|
||
|
}
|