Added POD where I still had to.

This commit is contained in:
Martin Kamerbeek 2008-06-13 13:44:14 +00:00
parent c7083c8177
commit 45756c36ba
3 changed files with 208 additions and 4 deletions

View file

@ -352,6 +352,17 @@ sub getConfiguredTitle {
#-------------------------------------------------------------------
=head2 getExpirationOffset ( duration )
Returns the number of seconds tied to one of the allowed intervals used by the commerce system.
=head3 duration
The identifier of the interval. Can be either 'Weekly', 'BiWeekly', 'FourWeekly', 'Monthly', 'Quarterly',
'HalfYearly' or 'Yearly'. Defaults to the duration of the subscription.
=cut
sub getExpirationOffset {
my $self = shift;
my $duration = shift || $self->get('duration');
@ -570,13 +581,14 @@ sub www_createSubscriptionCodeBatch {
return $self->getAdminConsoleWithSubmenu->render( $errorMessage.$f->print, $i18n->get('create batch menu') );
}
#-------------------------------------------------------------------
=head2 www_createSubscriptionCodeBatchSave ( )
Method that accepts the form parameters to create a batch of subscription codes.
=cut
#-------------------------------------------------------------------
sub www_createSubscriptionCodeBatchSave {
my $self = shift;
my $session = $self->session;