<<

NAME

Koha::Controller::Catalogue - Koha Controller

API

Class Methods

init

    my ( $template, $loggedinuser, $cookie, $flags ) = Koha::Controller::Catalogue->init( $args );

Initializes the catalogue controller by generating the template, authenticating the user, and populating the template with standard search-related variables.

Takes a hashref $args containing the CGI query, template_name, type, and flagsrequired.

Returns a list containing the $template object, the $loggedinuser ID, the session $cookie, and the user's $flags.

_prep_searchto_template_params

This prepares the common 'search to' functionality params e.g.: - 'Search to hold' - 'Search to order' - etc

<<