Added POD to several macros.
Updated POD in Storage/Iimage.pm Internationalized error messages from RandomAssetProxy.
This commit is contained in:
parent
3b44d47123
commit
d430f570f4
8 changed files with 106 additions and 7 deletions
|
|
@ -13,6 +13,25 @@ package WebGUI::Macro::Page;
|
|||
use strict;
|
||||
use WebGUI::Session;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Package WebGUI::Macro::Page
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Macro for pulling information from the Asset in which it's embedded.
|
||||
|
||||
=head2 process ( property )
|
||||
|
||||
If the macro is called from outside of an Asset, or if there's no asset in
|
||||
session variable, returns a single space.
|
||||
|
||||
=head3 property
|
||||
|
||||
The name of the property to retrieve from the assset via $session{asset}->get()
|
||||
|
||||
=cut
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
if (exists $session{asset}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue