[Zope-Checkins] CVS: Zope2 - dtml-sequence.stx:1.1.2.1 dtml-funcs.stx:1.5.18.1

andreas@serenade.digicool.com andreas@serenade.digicool.com
Tue, 15 May 2001 15:55:08 -0400


Update of /cvs-repository/Zope2/lib/python/Products/OFSP/help
In directory serenade:/tmp/cvs-serv17447

Modified Files:
      Tag: ajung-dtml-sort
	dtml-funcs.stx 
Added Files:
      Tag: ajung-dtml-sort
	dtml-sequence.stx 
Log Message:
Help for sequence module (Extended DTML sorting)



--- Added File dtml-sequence.stx in package Zope2 ---
sequence: DTML Sequence Functions

  The 'sequence' module provides sequence sorting function.

  Functions

    sort(seq,(sort)) -- Sort the sequence *seq* by an the optional sort schema *sort*.
    *sort* is a sequence of tuples (key,func,direction) that describe the sort order. 


      - *key* --  attribute of the object to be sorted.
 
      - *func* -- defines the compare function (optional).  Allowed values:

     
         - "cmp" -- the standard comparision function

         - "nocase" -- case-insensitive comparision

         - "strcoll" or "locale" -- locale-aware string comparision

         - "strcoll_nocase" or "locale_nocase" -- locale-aware case-insensitive string comparision
        
         - "xxx" -- a user-definied comparision function



      - *direction* -- definies the sort direction for the key (optional).
        (allowed values: "asc", "desc") 

 
    



--- Updated File dtml-funcs.stx in package Zope2 --
--- dtml-funcs.stx	2001/04/18 00:24:44	1.5
+++ dtml-funcs.stx	2001/05/15 19:55:08	1.5.18.1
@@ -204,6 +204,8 @@
 
     "'math' module":dtml-math.stx
 
+   "'sequence' module":dtml-sequence.stx
+
     "Built-in Python Functions":http://www.python.org/doc/current/lib/built-in-funcs.html