[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix B: API Reference

webmaster@zope.org webmaster@zope.org
Wed, 25 Sep 2002 17:52:06 -0400

A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx#4-147


         Sort child object (using the 'objectValues' method) by id (using
         the 'getId' method), ignoring case::

           <dtml-in expr="_.sequence.sort(objectValues(),
                                          (('getId', 'nocase'),))">
             <dtml-var getId> <br>

           % Anonymous User - Sep. 25, 2002 5:52 pm:
            prev paragraph (dont have a comment tag there) in sort func args: 
            outdent "direction". Also: if optional, what is the default??