<<

NAME

C4::Input - Miscellaneous sanity checks

SYNOPSIS

  use C4::Input;

DESCRIPTION

This module provides functions to see whether a given library card number or ISBN is valid.

FUNCTIONS

checkdigit
  $valid = &checkdigit($cardnumber $nounique);

Takes a card number, computes its check digit, and compares it to the checkdigit at the end of $cardnumber. Returns a true value iff $cardnumber has a valid check digit.

buildCGISort
  $CGIScrollingList = &buildCGISort($name string, $input_name string);

Returns the scrolling list with name $input_name, built on authorised Values named $name. Returns NULL if no authorised values found

AUTHOR

Koha Development Team <info@koha.org>

<<