Add POD to more Macros.
Document that using the CanEditText Macro outside of an Asset will have unpredictable results.
This commit is contained in:
parent
7c619a1ecd
commit
80c3f027f2
3 changed files with 38 additions and 5 deletions
|
|
@ -13,6 +13,18 @@ package WebGUI::Macro::At_username;
|
|||
use strict;
|
||||
use WebGUI::Session;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Package WebGUI::Macro::At_username
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Macro for displaying the current User's username.
|
||||
|
||||
=head2 process
|
||||
|
||||
=cut
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
return $session{user}{username};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue