]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/Manual/StandardTemplates.pod
updated action names in manual for standard templates
[maypole.git] / lib / Maypole / Manual / StandardTemplates.pod
index dbf127998c9963c88cf6363942c3339b01ecf6b5..b36b4043970e222357e6195f3b8bded69f2412bf 100644 (file)
@@ -61,10 +61,11 @@ This deletes a row, returning to the C<list> page.
 
 This provides a paged list of the table suitable for browsing.
 
-=item C</[table]/search/>
+=item C</[table]/do_search/>
 
 This handles a search query and presents the search results back to the
-F<list> template.
+F<list> template. Previously this was called search, but obviously that 
+clashes with a lot of stuff, and that usage is now deprecated.
 
 =back
 
@@ -211,13 +212,17 @@ This is usually integer, if you're using numeric IDs for your primary
 key. If not, you probably want C<printable>, but you probably know what
 you're doing anyway.
 
-=head3 delete
+=head3 do_delete
 
-The delete method takes a number of arguments and deletes those rows from the
+The do_delete method takes a number of arguments and deletes those rows from the
 database; it then loads up all rows and heads to the F<list> template.
 You almost certainly want to override this to provide some kind of
 authentication.
 
+Previously this was called delete, but obviously that clashes with a lot of stuff,
+and that usage is now deprecated.
+
+
 =head3 list
 
 Listing, like viewing, is a matter of selecting objects for
@@ -271,7 +276,7 @@ template view
 =head3 F<edit>
 
 The F<edit> template is pretty much the same as F<view>, but it uses 
-L<Class::DBI::AsForm>'s
+L<Maypole::Model::CDBI::AsForm>'s
 C<to_field> method on each column of an object to return a C<HTML::Element>
 object representing a form element to edit that property. These elements
 are then rendered to HTML with C<as_HTML> or to XHTML with C<as_XML>.