add POD
This commit is contained in:
parent
83bec84ad6
commit
b80c2bed22
1 changed files with 31 additions and 0 deletions
|
|
@ -2,6 +2,26 @@ package WebGUI::Admin;
|
||||||
|
|
||||||
# The new WebGUI Admin console
|
# The new WebGUI Admin console
|
||||||
|
|
||||||
|
=head1 NAME
|
||||||
|
|
||||||
|
WebGUI::Admin - The WebGUI Admin Console
|
||||||
|
|
||||||
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
The WebGUI Admin Console handles editing the Assets in the site, as well
|
||||||
|
as administrative tasks like managing Users and Groups.
|
||||||
|
|
||||||
|
The base Admin Console does Assets and displays the list of Admin Plugins.
|
||||||
|
Admin Plugins do the administrative tasks.
|
||||||
|
|
||||||
|
=head1 SEE ALSO
|
||||||
|
|
||||||
|
WebGUI::Admin::Plugin
|
||||||
|
WebGUI::Operation
|
||||||
|
WebGUI::AssetHelper
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
use Moose;
|
use Moose;
|
||||||
use JSON qw( from_json to_json );
|
use JSON qw( from_json to_json );
|
||||||
use namespace::autoclean;
|
use namespace::autoclean;
|
||||||
|
|
@ -25,8 +45,19 @@ sub BUILDARGS {
|
||||||
# Use the template data located in our DATA block
|
# Use the template data located in our DATA block
|
||||||
my $tdata = do { local $/ = undef; <WebGUI::Admin::DATA> };
|
my $tdata = do { local $/ = undef; <WebGUI::Admin::DATA> };
|
||||||
|
|
||||||
|
=head1 METHODS
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
=head2 getAdminPluginTemplateVars
|
||||||
|
|
||||||
|
Return an arrayref of hashrefs to define the Admin Plugins the current
|
||||||
|
user is allowed to use.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
sub getAdminPluginTemplateVars {
|
sub getAdminPluginTemplateVars {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $session = $self->session;
|
my $session = $self->session;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue