NAME
Kernel::System::SysConfig::Base::Framework – Base class for system configuration.
PUBLIC INTERFACE
SettingModifiedXMLContentParsedGet()
Returns perl structure for modified setting.
my $Result = $SysConfigObject->SettingModifiedXMLContentParsedGet(
ModifiedSetting => {
EffectiveValue => 'Scalar value updated'
},
DefaultSetting => {
XMLContentParsed => {
Value => [
{
'Item' => [
{
'Content' => "Scalar value",
},
],
},
],
},
},
);
Returns:
$Result = [
{
'Item' => [
{
'Content' => "Scalar value updated",
},
],
},
];
PRIVATE INTERFACE
_ModifiedValueCalculate()
Recursive helper for SettingModifiedXMLContentParsedGet().
my $Result = $SysConfigObject->_ModifiedValueCalculate(
'EffectiveValue' => 'Scalar value updated', # (optional) new effective value
'Value' => [ # (required) the XMLContentParsed value from Defaults
{
'Item' => [
{
'Content' => 'Scalar value',
},
],
},
],
);
Returns:
$Result = [
{
'Item' => [
{
'Content' => 'Scalar value updated'
},
],
},
];