<<

NAME

C4::Serials::Numberpattern - Serials numbering pattern module

FUNCTIONS

GetSubscriptionNumberpatterns

@results = GetSubscriptionNumberpatterns; this function get all subscription number patterns entered in table

GetSubscriptionNumberpattern

$result = GetSubscriptionNumberpattern($numberpatternid); this function get the data of the subscription numberpatterns which id is $numberpatternid

GetSubscriptionNumberpatternByName

$result = GetSubscriptionNumberpatternByName($name); this function get the data of the subscription numberpatterns which name is $name

AddSubscriptionNumberpattern

$numberpatternid = &AddSubscriptionNumberpattern($numberpattern)

Add a new numberpattern

$frequency is a hashref that contains values of the number pattern
Only label and numberingmethod are mandatory

ModSubscriptionNumberpattern

&ModSubscriptionNumberpattern($numberpattern)

Modifies a numberpattern

$frequency is a hashref that contains values of the number pattern
Only id is mandatory

DelSubscriptionNumberpattern

&DelSubscriptionNumberpattern($numberpatternid)

Delete a number pattern

GetSubscriptionsWithNumberpattern

    my @subs = GetSubscriptionsWithNumberpattern($numberpatternid);

Returns all subscriptions that are using a particular numbering pattern

AUTHOR

Koha Development team <info@koha.org>

<<