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:
Colin Kuskie 2005-12-20 22:34:40 +00:00
parent 4adafce696
commit 6ded5832ca
11 changed files with 215 additions and 3 deletions

View file

@ -5,6 +5,30 @@ use WebGUI::Asset::Template;
use WebGUI::SQL;
use WebGUI::URL;
=head1 NAME
Package WebGUI::Macro::SubscriptionItem;
=head1 DESCRIPTION
Macro for displaying information about subscription items.
=head2 process ( subscriptionId [,templateId ] )
process takes two optional parameters for customizing the content and layout
of the account link.
=head3 subscriptionId
The text of the link. If no text is displayed an internationalized default will be used.
=head3 templateId
A templateId to use for formatting the link. If this is empty, a default template will
be used from the Macro/SubscriptionItem namespace.
=cut
sub process {
my ($subscriptionId, $templateId, %var);
($subscriptionId, $templateId) = @_;