Add a bunch of missing POD while the gears spin.

This commit is contained in:
Colin Kuskie 2012-01-18 13:39:16 -08:00
parent 475b73f6e6
commit 7406c02a78
5 changed files with 41 additions and 1 deletions

View file

@ -134,6 +134,17 @@ sub call {
} }
} }
=head2 handle ($session)
Process the list of content handlers from the config file and then evaluate any Template objects which
may have been returned.
=head3 $session
A WebGUI::Session object.
=cut
sub handle { sub handle {
my ( $self, $session ) = @_; my ( $self, $session ) = @_;

View file

@ -14,6 +14,12 @@ use WebGUI::Command -command;
use strict; use strict;
use warnings; use warnings;
=head2 opt_spec
Return a set of options to WebGUI::Command so that it knows how to process command line options.
=cut
sub opt_spec { sub opt_spec {
return ( return (
[ 'configFile=s', 'The WebGUI config file to use. This parameter is required.'], [ 'configFile=s', 'The WebGUI config file to use. This parameter is required.'],
@ -26,6 +32,12 @@ sub opt_spec {
); );
} }
=head2 validate_args
Check for mandatory command line options
=cut
sub validate_args { sub validate_args {
my ($self, $opt, $args) = @_; my ($self, $opt, $args) = @_;
if (! $opt->{configfile}) { if (! $opt->{configfile}) {

View file

@ -336,6 +336,14 @@ sub getDatabaseFieldType {
return "CHAR(255)"; return "CHAR(255)";
} }
#-------------------------------------------------------------------
=head2 getLabel ( )
Gets the label for this form control, including any configured hover help.
=cut
sub getLabel { sub getLabel {
my ( $self ) = @_; my ( $self ) = @_;

View file

@ -40,7 +40,7 @@ sub www_genesis {
#------------------------------------------------------------------- #-------------------------------------------------------------------
=head2 theWg ( ) =head2 www_theWg ( )
The core WebGUI function. All WebGUI Assets, Operations and functions require this The core WebGUI function. All WebGUI Assets, Operations and functions require this
to work, even superseding the session variable. to work, even superseding the session variable.

View file

@ -14,12 +14,21 @@
WebGUI::Upgrade::File::txt - Upgrade class for text documents WebGUI::Upgrade::File::txt - Upgrade class for text documents
Displays the text document to the user, and then after a keypress, continues on to the
next upgarde file.
=cut =cut
package WebGUI::Upgrade::File::txt; package WebGUI::Upgrade::File::txt;
use Moose; use Moose;
with 'WebGUI::Upgrade::File'; with 'WebGUI::Upgrade::File';
=head2 once
Override the default so that the text is only displayed once.
=cut
sub once { 1 } sub once { 1 }
sub run { sub run {