POD added to last set of Macros.
Internationalized an error message in Product. Fixed typos in docs in Macro_Product.pm
This commit is contained in:
parent
4adafce696
commit
6ded5832ca
11 changed files with 215 additions and 3 deletions
|
|
@ -3,6 +3,25 @@ package WebGUI::Macro::SubscriptionItemPurchaseUrl;
|
|||
use strict;
|
||||
use WebGUI::URL;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Package WebGUI::Macro::SubscriptionItemPurchaseUrl
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Macro that returns a URL to purchase a subscription item.
|
||||
|
||||
=head2 process ( subscriptionId )
|
||||
|
||||
process returns a URL that is the current page with an operation appended
|
||||
to purchase the requested subscription item.
|
||||
|
||||
=head3 subscriptionId
|
||||
|
||||
The ID of the subscription item to purchase.
|
||||
|
||||
=cut
|
||||
|
||||
sub process {
|
||||
return WebGUI::URL::page('op=purchaseSubscription;sid='.shift);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue