Bug 20582: (QA follow-up) Add POD to satisfy coding guidelines

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Martin Renvoize 2020-09-11 11:29:37 +01:00 committed by Jonathan Druart
parent ae0c2b52a2
commit 0f26c7c3d7
4 changed files with 72 additions and 0 deletions

View File

@ -73,3 +73,21 @@ sub _around_action {
}
1;
=encoding utf8
=head1 NAME
Koha::App::Intranet - Mojolicious app for Koha's Intranet Client
=head1 DESCRIPTION
Run the Koha Intranet using Mojolicious servers
=head1 METHODS
=head2 startup
Called at application startup; Sets up routes, loads plugins and invokes hooks.
=cut

View File

@ -73,3 +73,21 @@ sub _around_action {
}
1;
=encoding utf8
=head1 NAME
Koha::App::Opac - Mojolicious app for Koha's Opac Client
=head1 DESCRIPTION
Run the Koha Opac using Mojolicious servers
=head1 METHODS
=head2 startup
Called at application startup; Sets up routes, loads plugins and invokes hooks.
=cut

View File

@ -98,3 +98,21 @@ sub _psgi_env {
}
1;
=encoding utf8
=head1 NAME
Koha::App::Plugin::CGIBinKoha
=head1 DESCRIPTION
Koha App Plugin used to wrap Koha CGI scripts for backwards compatibility whilst we migrate from CGI to using the Mojolicious Web Application Framework.
=head1 METHODS
=head2 register
Called at application startup; Sets up a catch-all router to identify CGI scripts and loads the found script using CGI::Compile before running it under CGI::Emulate::PSGI.
=cut

View File

@ -30,3 +30,21 @@ sub register {
}
1;
=encoding utf8
=head1 NAME
Koha::App::Plugin::RESTV1
=head1 DESCRIPTION
Koha App Plugin used to intercept api calls and route them to the dedicated REST API Mojolicious App.
=head1 METHODS
=head2 register
Called at application startup; Sets up a router to catch all calls to /api and pass them through to Koha::REST::V1.
=cut