adding getScratch
This commit is contained in:
parent
d1c319bdb1
commit
c60613ac2c
2 changed files with 23 additions and 0 deletions
|
|
@ -44,6 +44,8 @@
|
|||
- BugFix: [ 999799 ] Fixed Package deletion/copy bug in 6.1.1
|
||||
- BugFix: [ 997885 ] Root move left bug.
|
||||
- Changed 'lft' and 'rgt' database field names to 'nestedSetLeft' and 'nestedSetRight'. (Martin Kamerbeek)
|
||||
- Added WebGUI::Session::getScratch().
|
||||
|
||||
|
||||
6.1.1
|
||||
- bugfix [ 991313 ] Manage Translations doesn't work
|
||||
|
|
|
|||
|
|
@ -296,6 +296,27 @@ sub end {
|
|||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getScratch ( varName )
|
||||
|
||||
Retrieves the current value of a scratch variable.
|
||||
|
||||
=over
|
||||
|
||||
=item varName
|
||||
|
||||
The name of the variable set with setScratch().
|
||||
|
||||
=back
|
||||
|
||||
=cut
|
||||
|
||||
sub getScratch {
|
||||
my $var = shift;
|
||||
return $session{scratch}{$var};
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 open ( webguiRoot [ , configFile ] )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue