more session related changes

This commit is contained in:
JT Smith 2006-01-09 20:43:02 +00:00
parent 1a959e2681
commit d470a7cdd4
63 changed files with 377 additions and 317 deletions

View file

@ -331,5 +331,26 @@ sub useEmptyStyle {
$self->{_useEmptyStyle} = shift;
}
#-------------------------------------------------------------------
=head2 userStyle ( content )
Wrapper's the content in the user style defined in the settings.
=head3 content
The content to be wrappered.
=cut
sub userStyle {
my $self = shift;
my $output = shift;
if ($output) {
return $self->process($output,$self->session->setting->get("userFunctionStyleId"));
} else {
return undef;
}
}
1;