mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaCommandArgument: new object type
This commit is contained in:
parent
706ae2e279
commit
825602f509
38
library/Director/Objects/IcingaCommandArgument.php
Normal file
38
library/Director/Objects/IcingaCommandArgument.php
Normal file
@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace Icinga\Module\Director\Objects;
|
||||
|
||||
class IcingaCommandArgument extends IcingaObject
|
||||
{
|
||||
protected $table = 'icinga_command_argument';
|
||||
|
||||
protected $defaultProperties = array(
|
||||
'id' => null,
|
||||
'command_id' => null,
|
||||
'argument_name' => null,
|
||||
'argument_value' => null,
|
||||
'key_string' => null,
|
||||
'description' => null,
|
||||
'skip_key' => null,
|
||||
'set_if' => null,
|
||||
'sort_order' => null,
|
||||
'repeat_key' => null,
|
||||
'value_format' => null,
|
||||
'set_if_format' => null,
|
||||
);
|
||||
|
||||
public function onInsert()
|
||||
{
|
||||
// No log right now, we have to handle "sub-objects"
|
||||
}
|
||||
|
||||
public function onUpdate()
|
||||
{
|
||||
// No log right now, we have to handle "sub-objects"
|
||||
}
|
||||
|
||||
public function onDelete()
|
||||
{
|
||||
// No log right now, we have to handle "sub-objects"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user