X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FManual%2FStandardTemplates.pod;h=b36b4043970e222357e6195f3b8bded69f2412bf;hb=93f6780e2cd84eb4f9f6cfc578f42484bb2cf34b;hp=dbf127998c9963c88cf6363942c3339b01ecf6b5;hpb=45e4b287c0925cab5cc2692093034275dd0d17b9;p=maypole.git diff --git a/lib/Maypole/Manual/StandardTemplates.pod b/lib/Maypole/Manual/StandardTemplates.pod index dbf1279..b36b404 100644 --- a/lib/Maypole/Manual/StandardTemplates.pod +++ b/lib/Maypole/Manual/StandardTemplates.pod @@ -61,10 +61,11 @@ This deletes a row, returning to the C page. This provides a paged list of the table suitable for browsing. -=item C +=item C This handles a search query and presents the search results back to the -F template. +F 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, 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 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 The F template is pretty much the same as F, but it uses -L's +L's C method on each column of an object to return a C object representing a form element to edit that property. These elements are then rendered to HTML with C or to XHTML with C.