IcingaObject: render assign_filter property
This commit is contained in:
parent
0a6514928a
commit
6ed24f93da
|
@ -3,6 +3,7 @@
|
||||||
namespace Icinga\Module\Director\Objects;
|
namespace Icinga\Module\Director\Objects;
|
||||||
|
|
||||||
use Icinga\Module\Director\CustomVariable\CustomVariables;
|
use Icinga\Module\Director\CustomVariable\CustomVariables;
|
||||||
|
use Icinga\Module\Director\IcingaConfig\AssignRenderer;
|
||||||
use Icinga\Module\Director\Data\Db\DbObject;
|
use Icinga\Module\Director\Data\Db\DbObject;
|
||||||
use Icinga\Module\Director\Db\Cache\PrefetchCache;
|
use Icinga\Module\Director\Db\Cache\PrefetchCache;
|
||||||
use Icinga\Module\Director\Db;
|
use Icinga\Module\Director\Db;
|
||||||
|
@ -1933,6 +1934,17 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @codingStandardsIgnoreStart
|
||||||
|
*/
|
||||||
|
public function renderAssign_Filter()
|
||||||
|
{
|
||||||
|
// @codingStandardsIgnoreEnd
|
||||||
|
return ' ' . AssignRenderer::forFilter(
|
||||||
|
Filter::fromQueryString($this->assign_filter)
|
||||||
|
)->renderAssign();
|
||||||
|
}
|
||||||
|
|
||||||
public function toLegacyConfigString()
|
public function toLegacyConfigString()
|
||||||
{
|
{
|
||||||
$str = implode(array(
|
$str = implode(array(
|
||||||
|
|
Loading…
Reference in New Issue