POD for Definition/Meta/Property/Asset.pm
Adopted the style of postfix POD when dealing with Moose specific code. It's much easier to read both.
This commit is contained in:
parent
a1957b324a
commit
8491775491
1 changed files with 44 additions and 0 deletions
|
|
@ -21,6 +21,21 @@ no warnings qw(uninitialized);
|
|||
|
||||
our $VERSION = '0.0.1';
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Package WebGUI::Definition::Meta::Property::Asset
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Extends WebGUI::Definition::Meta::Property to provide Asset properties with
|
||||
specific methods.
|
||||
|
||||
=head1 METHODS
|
||||
|
||||
The following methods are added.
|
||||
|
||||
=cut
|
||||
|
||||
extends 'WebGUI::Definition::Meta::Property';
|
||||
|
||||
has 'table' => (
|
||||
|
|
@ -35,5 +50,34 @@ has 'noFormPost' => (
|
|||
is => 'ro',
|
||||
);
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 table ( )
|
||||
|
||||
Previously, properties were storied in arrays of definitions, with each definition
|
||||
providing its own attributes like table. This Moose based implementation stores
|
||||
the properties flat, so the table attribute is copied into the property so we
|
||||
know where to store it.
|
||||
|
||||
=cut
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 fieldType ( )
|
||||
|
||||
The type of HTML form field that this property should use to generate its UI
|
||||
and validate its data.
|
||||
|
||||
=cut
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 noFormPost ( )
|
||||
|
||||
This is boolean which indicates that no data from HTML forms should be validated
|
||||
and stored for this property.
|
||||
|
||||
=cut
|
||||
|
||||
1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue