Kernel::System::ITSMConfigItem::XML::Type::Integer - xml backend module
All xml functions of integer objects
new()
create an object
use Kernel::Config;
use Kernel::System::Encode;
use Kernel::System::Log;
use Kernel::System::DB;
use Kernel::System::Main;
use Kernel::System::ITSMConfigItem;
my $ConfigObject = Kernel::Config->new();
my $EncodeObject = Kernel::System::Encode->new(
ConfigObject => $ConfigObject,
);
my $LogObject = Kernel::System::Log->new(
ConfigObject => $ConfigObject,
EncodeObject => $EncodeObject,
);
my $MainObject = Kernel::System::Main->new(
ConfigObject => $ConfigObject,
EncodeObject => $EncodeObject,
LogObject => $LogObject,
);
my $DBObject = Kernel::System::DB->new(
ConfigObject => $ConfigObject,
EncodeObject => $EncodeObject,
LogObject => $LogObject,
MainObject => $MainObject,
);
my $ConfigItemObject = Kernel::System::ITSMConfigItem->new(
ConfigObject => $ConfigObject,
EncodeObject => $EncodeObject,
LogObject => $LogObject,
DBObject => $DBObject,
MainObject => $MainObject,
);
$BackendObject = $ConfigItemObject->_LoadXMLTypeBackend(
Type => 'Integer',
);
ValueLookup()
get the integer data of a version
my $Value = $BackendObject->ValueLookup(
Value => 11, # (optional)
);
StatsAttributeCreate()
create a attribute array for the stats framework
my $Attribute = $BackendObject->StatsAttributeCreate();
ExportSearchValuePrepare()
prepare search value for export
my $ArrayRef = $BackendObject->ExportSearchValuePrepare(
Value => 11, # (optional)
);
ExportValuePrepare()
prepare value for export
my $Value = $BackendObject->ExportValuePrepare(
Value => 11, # (optional)
);
ImportSearchValuePrepare()
prepare search value for import
my $ArrayRef = $BackendObject->ImportSearchValuePrepare(
Value => 11, # (optional)
);
ImportValuePrepare()
prepare value for import
my $Value = $BackendObject->ImportValuePrepare(
Value => 11, # (optional)
);
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.