IcingaCommand: render command as an array

This commit is contained in:
Thomas Gelf 2015-10-16 18:13:42 +02:00
parent 062cd77496
commit 371589a2a7
1 changed files with 5 additions and 0 deletions

View File

@ -33,4 +33,9 @@ class IcingaCommand extends IcingaObject
// Execute is a reserved word in SQL, column name was prefixed
return c::renderKeyValue('execute', $this->methods_execute);
}
protected function renderCommand()
{
return c::renderKeyValue('command', c::renderArray(array($this->command)));
}
}