webgui/lib/WebGUI/Macro/URLEncode.pm
Colin Kuskie 6ded5832ca POD added to last set of Macros.
Internationalized an error message in Product.
Fixed typos in docs in Macro_Product.pm
2005-12-20 22:34:40 +00:00

43 lines
1,008 B
Perl

package WebGUI::Macro::URLEncode;
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2005 Plain Black Corporation.
#-------------------------------------------------------------------
# Please read the legal notices (docs/legal.txt) and the license
# (docs/license.txt) that came with this distribution before using
# this software.
#-------------------------------------------------------------------
# http://www.plainblack.com info@plainblack.com
#-------------------------------------------------------------------
use strict;
use WebGUI::Session;
use WebGUI::URL;
=head1 NAME
Package WebGUI::Macro::URLEncode
=head1 DESCRIPTION
Macro for URL encoding text.
=head2 process ( text )
process is really a wrapper around WebGUI::URL::escape;
of the account link.
=head3 text
The text to URL encode.
=cut
#-------------------------------------------------------------------
sub process {
return WebGUI::URL::escape(shift);
}
1;