]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/Model/CDBI.pm
Changed CSS buttons to POST buttons
[maypole.git] / lib / Maypole / Model / CDBI.pm
index bba1c5c587868e9a4be99e8423faa1c5a2554b79..b4208e1029d577ef49ea8f7bf3390efa450959da 100644 (file)
@@ -51,14 +51,26 @@ Surprisingly, this command causes a database record to be forever lost.
 
 =item search
 
+The search action 
+
+=back
+
 =head1 Helper Methods
 
+=over 
+
 =item order
 
 =item stringify_column
 
 =item do_pager
 
+=item related_class
+
+Given an accessor name as a method, this function returns the class this accessor returns.
+
+=back
+
 =cut
 
 sub related {
@@ -211,6 +223,8 @@ sub setup_database {
     );
     $config->{classes} = [ $config->{loader}->classes ];
     $config->{tables}  = [ $config->{loader}->tables ];
+    warn( 'Loaded tables: ' . join ',', @{ $config->{tables} } )
+      if $namespace->debug;
 }
 
 sub class_of {
@@ -219,4 +233,3 @@ sub class_of {
 }
 
 1;
-