From 8491775491b8e18840f8f1cb52818ec495b81a16 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sat, 5 Dec 2009 12:31:02 -0800 Subject: [PATCH] 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. --- lib/WebGUI/Definition/Meta/Property/Asset.pm | 44 ++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/lib/WebGUI/Definition/Meta/Property/Asset.pm b/lib/WebGUI/Definition/Meta/Property/Asset.pm index a2485a72f..fb362542b 100644 --- a/lib/WebGUI/Definition/Meta/Property/Asset.pm +++ b/lib/WebGUI/Definition/Meta/Property/Asset.pm @@ -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;