update pod and macro docs

This commit is contained in:
Colin Kuskie 2006-07-17 22:54:34 +00:00
parent 0f3ae770b2
commit e718fc5b9a
3 changed files with 6 additions and 5 deletions

View file

@ -23,11 +23,11 @@ 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.
session variable, returns an empty string.
=head3 property
The name of the property to retrieve from the assset via $session->asset->get()
The name of the property to retrieve from the asset via $session->asset->get()
=cut

View file

@ -22,7 +22,7 @@ Macro for displaying information from the current User's profile.
=head2 process( field )
process takes a single parameter, the name of a field in the User's User Profile from
process takes a single parameter, the name of a field in the current user's User Profile from
the data stored in $session . If the field does not exist, undef is returned.
=cut

View file

@ -16,11 +16,12 @@ our $I18N = {
message => q|
<p><b>&#94;Page();</b><br />
This can be used to retrieve information about the current page. For instance it could be used to get the page URL like this &#94;Page("urlizedTitle"); or to get the menu title like this &#94;Page("menuTitle");.
This can be used to retrieve information about the current asset. For instance it could be used to get the page URL like this &#94;Page("urlizedTitle"); or to get the menu title like this &#94;Page("menuTitle");. If the macro is called outside the context of
an asset, or if the property doesn't exist, then it returns nothing.
</p>
|,
lastUpdated => 1146609799,
lastUpdated => 1153177069,
},
};