webgui/lib/WebGUI/Macro/PageUrl.pm
2006-01-01 18:38:27 +00:00

37 lines
941 B
Perl

package WebGUI::Macro::PageUrl;
#-------------------------------------------------------------------
# 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;
=head1 NAME
Package WebGUI::Macro::Page
=head1 DESCRIPTION
Macro for displaying the url for the current asset.
=head2 process ( )
process is really a wrapper around $session->url->page();
=cut
#-------------------------------------------------------------------
sub process {
my $session = shift;
return $session->url->page();
}
1;