X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F04_BasicCRUD.pod;h=b747f66ad29730749edc848034c3f8aee8e019e6;hp=3e7e02ebe5ceac136b31c7ec36ef0f5d839cf16e;hb=6d97b9733f7cd0679097c3e8fd970bf006e354b1;hpb=fce83e5f2a2da9f9117562d05aec1e161cc3c109 diff --git a/lib/Catalyst/Manual/Tutorial/04_BasicCRUD.pod b/lib/Catalyst/Manual/Tutorial/04_BasicCRUD.pod index 3e7e02e..b747f66 100644 --- a/lib/Catalyst/Manual/Tutorial/04_BasicCRUD.pod +++ b/lib/Catalyst/Manual/Tutorial/04_BasicCRUD.pod @@ -641,8 +641,8 @@ and 2) the four lines for the Delete link near the bottom): [% # authors into the list. Note that the 'push' TT vmethod doesn't return -%] [% # a value, so nothing will be printed here. But, if you have something -%] [% # in TT that does return a value and you don't want it printed, you can -%] - [% # 1) assign it to a bogus value, or # 2) use the CALL keyword to -%] - [% # call it and discard the return value. -%] + [% # 1) assign it to a bogus value, or -%] + [% # 2) use the CALL keyword to call it and discard the return value. -%] [% tt_authors = [ ]; tt_authors.push(author.last_name) FOREACH author = book.authors %] [% # Now use a TT 'virtual method' to display the author count in parens -%] @@ -1066,9 +1066,9 @@ time entered for it (see the last line in the listing below): Notice in the debug log that the SQL DBIC generated has changed to incorporate the datetime logic: - INSERT INTO book ( created, rating, title, updated) VALUES ( ?, ?, ?, ? ): + INSERT INTO book ( created, rating, title, updated ) VALUES ( ?, ?, ?, ? ): '2009-05-25 20:39:41', '5', 'TCPIP_Illustrated_Vol-2', '2009-05-25 20:39:41' - INSERT INTO book_author ( author_id, book_id) VALUES ( ?, ? ): '4', '10' + INSERT INTO book_author ( author_id, book_id ) VALUES ( ?, ? ): '4', '10' =head2 Create a ResultSet Class @@ -1436,7 +1436,7 @@ Kennedy Clark, C Please report any errors, issues or suggestions to the author. The most recent version of the Catalyst Tutorial can be found at -L. +L. Copyright 2006-2008, Kennedy Clark, under Creative Commons License (L).