Update docs for GroupDelete (conditions for displaying the link)
Added POD to 4 more Macros
This commit is contained in:
parent
8aafc5a3ad
commit
9e7d86af49
5 changed files with 80 additions and 7 deletions
|
|
@ -13,6 +13,21 @@ package WebGUI::Macro::Hash_userId;
|
|||
use strict;
|
||||
use WebGUI::Session;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Package WebGUI::Macro::Hash_userId
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Macro for userId of the current user.
|
||||
|
||||
=head2 process
|
||||
|
||||
Returns the userId from the session variable for the current user.
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
return $session{user}{userId};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue