Module Creation

Moderator: crythias

Locked
Vandvirkur
Znuny newbie
Posts: 2
Joined: 09 Aug 2016, 10:08
Znuny Version: OTRS 4

Module Creation

Post by Vandvirkur »

So I want to make my own module and I did this HelloWorld example from the Documentation. Now I would need to have access to my OTRS database. Could somebody tell me how this is done? I am new to Perl but a small code sample would really help me. Thanks in advance :)
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Module Creation

Post by reneeb »

Have a look at all the *.pm files in Kernel/System/ that contain the term "Kernel::System::DB"...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked