- HTML Admin-Manual
- PDF Admin-Manual
- HTML ITSM-Manual
- PDF ITSM-Manual
- HTML Developer-Manual
- PDF Developer-Manual
- HTML Developer-API
Next, we create the file for the core module "/HelloWorld/Kernel/System/HelloWorld.pm" with the following content:
# --
# Kernel/System/HelloWorld.pm - core modul
# Copyright (C) 2001-2005 Martin Edenhofer <martin+code@otrs.org>
# --
# $Id: writing-otrs-application.xml,v 1.11 2006/06/07 14:10:34 tr Exp $
# --
# 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 http://www.gnu.org/licenses/gpl.txt.
# --
package Kernel::System::HelloWorld;
use strict;
sub new {
my $Type = shift;
my %Param = @_;
# allocate new hash for object
my $Self = {};
bless ($Self, $Type);
return $Self;
}
sub GetHelloWorldText {
my $Self = shift;
my %Param = @_;
return 'Hello World';
}
1;