@@ -, +, @@ guidelines --- Koha/App/Intranet.pm | 18 ++++++++++++++++++ Koha/App/Opac.pm | 18 ++++++++++++++++++ Koha/App/Plugin/CGIBinKoha.pm | 18 ++++++++++++++++++ Koha/App/Plugin/RESTV1.pm | 18 ++++++++++++++++++ 4 files changed, 72 insertions(+) --- a/Koha/App/Intranet.pm +++ a/Koha/App/Intranet.pm @@ -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 --- a/Koha/App/Opac.pm +++ a/Koha/App/Opac.pm @@ -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 --- a/Koha/App/Plugin/CGIBinKoha.pm +++ a/Koha/App/Plugin/CGIBinKoha.pm @@ -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 --- a/Koha/App/Plugin/RESTV1.pm +++ a/Koha/App/Plugin/RESTV1.pm @@ -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 --