mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-20 12:24:30 +02:00
IcingaObject: render assign_filter property
This commit is contained in:
parent
0a6514928a
commit
6ed24f93da
@ -3,6 +3,7 @@
|
||||
namespace Icinga\Module\Director\Objects;
|
||||
|
||||
use Icinga\Module\Director\CustomVariable\CustomVariables;
|
||||
use Icinga\Module\Director\IcingaConfig\AssignRenderer;
|
||||
use Icinga\Module\Director\Data\Db\DbObject;
|
||||
use Icinga\Module\Director\Db\Cache\PrefetchCache;
|
||||
use Icinga\Module\Director\Db;
|
||||
@ -1933,6 +1934,17 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||
return $str;
|
||||
}
|
||||
|
||||
/**
|
||||
* @codingStandardsIgnoreStart
|
||||
*/
|
||||
public function renderAssign_Filter()
|
||||
{
|
||||
// @codingStandardsIgnoreEnd
|
||||
return ' ' . AssignRenderer::forFilter(
|
||||
Filter::fromQueryString($this->assign_filter)
|
||||
)->renderAssign();
|
||||
}
|
||||
|
||||
public function toLegacyConfigString()
|
||||
{
|
||||
$str = implode(array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user