=head1 SYNOPSIS
+=cut
=head1 DESCRIPTION
=head1 FUNCTIONS
-=over 2
-
=cut
use strict;
=head1 NAME
-etail.pl : script to show an authority in MARC format
+detail-biblio-search.pl - script to show an authority in MARC format
=head1 SYNOPSIS
+=cut
=head1 DESCRIPTION
=head1 FUNCTIONS
-=over 2
-
=cut
=head1 SYNOPSIS
+=cut
=head1 DESCRIPTION
=head1 FUNCTIONS
-=over 2
-
=cut
=head1 SYNOPSIS
+=cut
=head1 DESCRIPTION
=head1 FUNCTIONS
-=over 2
-
=cut
use strict;
=head1 SYNOPSIS
+=cut
=head1 DESCRIPTION
=head1 FUNCTIONS
-=over 2
-
=cut
use strict;
not cover in detail.
=head3 1. Building Query Strings
-
+
There are several types of queries needed in the process of search and retrieve:
=over
our($tagslib,$authorised_values_sth,$is_a_modif,$usedTagsLib,$mandatory_z3950);
-=item MARCfindbreeding
+=head1 FUNCTIONS
+
+=head2 MARCfindbreeding
$record = MARCfindbreeding($breedingid);
return -1;
}
-=item build_authorized_values_list
+=head2 build_authorized_values_list
=cut
);
}
-=item CreateKey
+=head2 CreateKey
Create a random value to set it into the input name
return int(rand(1000000));
}
-=item GetMandatoryFieldZ3950
+=head2 GetMandatoryFieldZ3950
This function return an hashref which containts all mandatory field
to search with z3950 server.
-
+
=cut
sub GetMandatoryFieldZ3950($){
};
}
-=item create_input
+=head2 create_input
builds the <input ...> entry for a subfield.
}
-=item format_indicator
+=head2 format_indicator
Translate indicator value for output form - specifically, map
indicator = ' ' to ''. This is for the convenience of a cataloger
output_html_with_http_headers $input, $cookie, $template->output;
exit;
+=head1 FUNCTIONS
+
+=cut
# ------------------------
# Functions
}
-=item CreateKey
+=head2 CreateKey
- Create a random value to set it into the input name
+Create a random value to set it into the input name
=cut
use CGI;
use C4::Context;
-=head1
+=head1 DESCRIPTION
Is used for callnumber computation.
use C4::Search;
use C4::Output;
-=head1
+=head1 DESCRIPTION
plugin_parameters : other parameters added when the plugin is called by the dopop function
use C4::Search;
use C4::Output;
-=head1
+=head1 DESCRIPTION
plugin_parameters : other parameters added when the plugin is called by the dopop function
use C4::Search;
use C4::Output;
-=head1
+=head1 DESCRIPTION
plugin_parameters : other parameters added when the plugin is called by the dopop function
use C4::Search;
use C4::Output;
-=head1
+=head1 DESCRIPTION
plugin_parameters : other parameters added when the plugin is called by the dopop function
use C4::Context;
# use MARC::Record;
-=head1
+=head1 DESCRIPTION
plugin_parameters : other parameters added when the plugin is called by the dopop function
return "";
}
-=head1
+=head1 FUNCTIONS
-plugin_javascript : the javascript function called when the user enters the subfield.
+=head2 plugin_javascript
+
+The javascript function called when the user enters the subfield.
contain 3 javascript functions :
-* one called when the field is entered (OnFocus). Named FocusXXX
-* one called when the field is leaved (onBlur). Named BlurXXX
-* one called when the ... link is clicked (<a href="javascript:function">) named ClicXXX
+ * one called when the field is entered (OnFocus). Named FocusXXX
+ * one called when the field is leaved (onBlur). Named BlurXXX
+ * one called when the ... link is clicked (<a href="javascript:function">) named ClicXXX
returns :
-* XXX
-* a variable containing the 3 scripts.
+ * XXX
+ * a variable containing the 3 scripts.
the 3 scripts are inserted after the <input> in the html code
=cut
return ($function_name,$res);
}
-=head1
+=head2 plugin
-plugin : the true value_builded. The screen that is open in the popup window.
+the true value_builded. The screen that is open in the popup window.
=cut
#use warnings; FIXME - Bug 2505
use C4::Context;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+other parameters added when the plugin is called by the dopop function
=cut
return "";
}
-=head1
+=head2 plugin_javascript
-plugin_javascript : the javascript function called when the user enters the subfield.
+Thee javascript function called when the user enters the subfield.
contain 3 javascript functions :
-* one called when the field is entered (OnFocus). Named FocusXXX
-* one called when the field is leaved (onBlur). Named BlurXXX
-* one called when the ... link is clicked (<a href="javascript:function">) named ClicXXX
+ * one called when the field is entered (OnFocus). Named FocusXXX
+ * one called when the field is leaved (onBlur). Named BlurXXX
+ * one called when the ... link is clicked (<a href="javascript:function">) named ClicXXX
returns :
-* XXX
-* a variable containing the 3 scripts.
+ * XXX
+ * a variable containing the 3 scripts.
the 3 scripts are inserted after the <input> in the html code
=cut
return ($function_name,$res);
}
-=head1
+=head2 plugin
-plugin : the true value_builded. The screen that is open in the popup window.
+The true value_builded. The screen that is open in the popup window.
=cut
use CGI;
use C4::Context;
-=head1
+=head1 DESCRIPTION
This plugin is specific to AM123 but could be used as a base for similar operations.
It is used for stocknumber computation.
use C4::Context;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+other parameters added when the plugin is called by the dopop function
=cut
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
+
sub plugin_parameters {
my ($dbh,$record,$tagslib,$i,$tabloop) = @_;
return "";
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
+
sub plugin_parameters {
my ($dbh,$record,$tagslib,$i,$tabloop) = @_;
return "";
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
+
sub plugin_parameters {
my ($dbh,$record,$tagslib,$i,$tabloop) = @_;
return "";
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
+
sub plugin_parameters {
my ($dbh,$record,$tagslib,$i,$tabloop) = @_;
return "";
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
+
sub plugin_parameters {
my ($dbh,$record,$tagslib,$i,$tabloop) = @_;
return "";
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
+
sub plugin_parameters {
my ($dbh,$record,$tagslib,$i,$tabloop) = @_;
return "";
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
+
sub plugin_parameters {
my ($dbh,$record,$tagslib,$i,$tabloop) = @_;
return "";
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
+
sub plugin_parameters {
my ($dbh,$record,$tagslib,$i,$tabloop) = @_;
return "";
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
+
sub plugin_parameters {
my ($dbh,$record,$tagslib,$i,$tabloop) = @_;
return "";
use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
+
sub plugin_parameters {
my ($dbh,$record,$tagslib,$i,$tabloop) = @_;
return "";
my $dbh = C4::Context->dbh;
$|=1; # flushes output
-=item
- Deal with virtualshelves
-
-=cut
+# Deal with virtualshelves
my $DBversion = "3.00.00.001";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
print "Upgrade to $DBversion done ( Adding enddate to subscription)\n";
}
-=item
-
-Acquisitions update
-
-=cut
+# Acquisitions update
$DBversion = "3.01.00.072";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
SetVersion ($DBversion);
}
-=item DropAllForeignKeys($table)
+=head1 FUNCTIONS
+
+=head2 DropAllForeignKeys($table)
- Drop all foreign keys of the table $table
+Drop all foreign keys of the table $table
=cut
}
-=item TransformToNum
+=head2 TransformToNum
- Transform the Koha version from a 4 parts string
- to a number, with just 1 .
+Transform the Koha version from a 4 parts string
+to a number, with just 1 .
=cut
return $version;
}
-=item SetVersion
+=head2 SetVersion
- set the DBversion in the systempreferences
+set the DBversion in the systempreferences
=cut
=back
=head1 CONFIGURATION
-
+
Configuration file looks like that:
---
exit 0;
-=head2 GetBibsWithPendingHoldRequests
-
-=over 4
+=head1 FUNCTIONS
-my $biblionumber_aref = GetBibsWithPendingHoldRequests();
+=head2 GetBibsWithPendingHoldRequests
-=back
+ my $biblionumber_aref = GetBibsWithPendingHoldRequests();
Return an arrayref of the biblionumbers of all bibs
that have one or more unfilled hold requests.
=head2 GetPendingHoldRequestsForBib
-=over 4
-
-my $requests = GetPendingHoldRequestsForBib($biblionumber);
-
-=back
+ my $requests = GetPendingHoldRequestsForBib($biblionumber);
Returns an arrayref of hashrefs to pending, unfilled hold requests
on the bib identified by $biblionumber. The following keys
=head2 GetItemsAvailableToFillHoldRequestsForBib
-=over 4
-
-my $available_items = GetItemsAvailableToFillHoldRequestsForBib($biblionumber);
-
-=back
+ my $available_items = GetItemsAvailableToFillHoldRequestsForBib($biblionumber);
Returns an arrayref of items available to fill hold requests
for the bib identified by C<$biblionumber>. An item is available
=head2 MapItemsToHoldRequests
-=over 4
-
-MapItemsToHoldRequests($hold_requests, $available_items);
-
-=back
+ MapItemsToHoldRequests($hold_requests, $available_items);
=cut
=head1 OPTIONS
-=over 8
+=over
=item B<-help>
=head1 TO DO
-=over 8
+=over
- ~ Complete testing for Sendmail related options: --email, --to, and --from.
- ~ Allow Saved Results option.
- ~ Possible --format option for CSV or tab-delimited output.
+=item *
+
+Complete testing for Sendmail related options: --email, --to, and --from.
+
+=item *
+
+Allow Saved Results option.
+
+=item *
+
+Possible --format option for CSV or tab-delimited output.
=back
Run in debugging mode; this prints out a lot of information and should be used
only if there is a problem and with the '-n' option.
+=back
+
=cut
my $mode = '';
}
closedir DIR;
-=head
-my($theme, $module) = @$spec;
+=head1 EXAMPLE
+
+ my($theme, $module) = @$spec;
my $pid = fork;
die "fork: $!\n" unless defined $pid;
if (!$pid) {
die "tmpl_process3.pl: exec: $!\n";
}
wait;
-}
+ }
=cut
output_html_with_http_headers $query, $cookie, $template->output;
-=head3 parse_header_line
+=head1 FUNCTIONS
+
+=head2 parse_header_line
parses the header line from a .koc file. This is the line that
specifies things such as the file version, and the name and version of
return \%header_info;
}
-=head3 parse_command_line
+=head2 parse_command_line
=cut
}
-=head3 arguments_for_command
+=head2 arguments_for_command
fetches the names of the columns (and function arguments) found in the
.koc file for a particular command name. For instance, the C<issue>
} );
}
-=head3 _get_borrowernumber_from_barcode
+=head2 _get_borrowernumber_from_barcode
pass in a barcode
get back the borrowernumber of the patron who has it checked out.
=head1 NAME
-opac-ISBDdetail.pl : script to show a biblio in ISBD format
-
+opac-ISBDdetail.pl - script to show a biblio in ISBD format
=head1 DESCRIPTION
=head1 FUNCTIONS
-=over 2
-
=cut
use strict;
=head1 SYNOPSIS
+=cut
=head1 DESCRIPTION
=head1 SYNOPSIS
+=cut
=head1 DESCRIPTION
=head1 FUNCTIONS
-=over 2
-
=cut
use strict;
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-=head1
+=head1 NAME
+
+opac-tags.pl
+
+=head1 DESCRIPTION
TODO :: Description here
=head1 DESCRIPTION
-=over 2
-
=cut
my $input = new CGI;
=head1 DESCRIPTION
-
-=over2
-
=cut
my $input = new CGI;
Script to control the guided report creation
-=over2
-
=cut
my $input = new CGI;
=head1 SYNOPSIS
+=cut
=head1 DESCRIPTION
=head1 FUNCTIONS
-=over 2
-
=cut
use strict;
=head1 NAME
-picture-upload.p. - Script for handling uploading of both single and bulk patronimages and importing them into the database.
+picture-upload.pl - Script for handling uploading of both single and bulk patronimages and importing them into the database.
=head1 SYNOPSIS
return (%count);
}
-=back
-
=head1 AUTHORS
Original contributor(s) undocumented