From 6cc51fa1762757ca827fca027eaf46daba40b5fb Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 21 Feb 2008 05:31:14 +0000 Subject: [PATCH] add pod --- lib/WebGUI/Shop/ShipDriver.pm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/lib/WebGUI/Shop/ShipDriver.pm b/lib/WebGUI/Shop/ShipDriver.pm index 7a89c2482..a211a90db 100644 --- a/lib/WebGUI/Shop/ShipDriver.pm +++ b/lib/WebGUI/Shop/ShipDriver.pm @@ -46,11 +46,19 @@ to do calculations. #------------------------------------------------------------------- -=head2 create ( $session ) +=head2 create ( $session, $properties ) Constructor for new WebGUI::Shop::ShipperDriver objects. Returns a WebGUI::Shop::ShipperDriver object. To access driver objects that have already been configured, use C. +=head3 $session + +A WebGUI::Session object. + +=head4 $properties + +A list of properties to assign to this ShipperDriver. See C for details. + =cut sub create { @@ -67,8 +75,9 @@ sub create { =head2 definition ( $session ) -Constructor for new WebGUI::Shop::ShipperDriver objects. Returns a WebGUI::Shop::ShipperDriver object. -To access driver objects that have already been configured, use C. +This subroutine returns an arrayref of hashrefs, used to validate data put into +the object by the user, and to automatically generate the edit form to show +the user. =cut