IcingaCommand: prepare argument handling

This commit is contained in:
Thomas Gelf 2015-08-28 23:44:26 +02:00
parent 1936ad8997
commit 7b1fda25bd
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,8 @@ class IcingaCommand extends IcingaObject
{ {
protected $table = 'icinga_command'; protected $table = 'icinga_command';
protected $type = 'CheckCommand';
protected $defaultProperties = array( protected $defaultProperties = array(
'id' => null, 'id' => null,
'object_name' => null, 'object_name' => null,
@ -20,8 +22,12 @@ class IcingaCommand extends IcingaObject
protected $supportsCustomVars = true; protected $supportsCustomVars = true;
protected $supportsFields = true;
protected $supportsImports = true; protected $supportsImports = true;
protected $supportsArguments = true;
protected function renderMethods_execute() protected function renderMethods_execute()
{ {
// Execute is a reserved word in SQL, column name was prefixed // Execute is a reserved word in SQL, column name was prefixed