comparison doc/customizing.txt @ 2859:a204a49e0974 maint-0.7

merge from HEAd
author Richard Jones <richard@users.sourceforge.net>
date Wed, 03 Nov 2004 03:07:51 +0000
parents 53c0c18b59c6
children f203541b1116
comparison
equal deleted inserted replaced
2857:53c0c18b59c6 2859:a204a49e0974
1618 properties return a `hyperdb property wrapper`_ for all of this class's 1618 properties return a `hyperdb property wrapper`_ for all of this class's
1619 properties. 1619 properties.
1620 list lists all of the active (not retired) items in the class. 1620 list lists all of the active (not retired) items in the class.
1621 csv return the items of this class as a chunk of CSV text. 1621 csv return the items of this class as a chunk of CSV text.
1622 propnames lists the names of the properties of this class. 1622 propnames lists the names of the properties of this class.
1623 filter lists of items from this class, filtered and sorted by the 1623 filter lists of items from this class, filtered and sorted. Two
1624 current *request* filterspec/filter/sort/group args 1624 options are avaible for sorting:
1625
1626 1. by the current *request* filterspec/filter/sort/group args
1627 2. by the "filterspec", "sort" and "group" keyword args.
1628 "filterspec" is ``{propname: value(s)}``. "sort" and
1629 "group" are ``(dir, prop)`` where dir is '+', '-' or None
1630 and prop is a prop name or None.
1631
1632 eg. ``issue.filter(filterspec={"priority": "1"},
1633 sort=('activity', '+'))``
1634
1625 classhelp display a link to a javascript popup containing this class' 1635 classhelp display a link to a javascript popup containing this class'
1626 "help" template. 1636 "help" template.
1627 submit generate a submit button (and action hidden element) 1637 submit generate a submit button (and action hidden element)
1628 renderWith render this class with the given template. 1638 renderWith render this class with the given template.
1629 history returns 'New node - no history' :) 1639 history returns 'New node - no history' :)

Roundup Issue Tracker: http://roundup-tracker.org/