[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Zope Products
Wed, 09 Oct 2002 05:12:52 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Products.stx#3-29
This function makes one call to the registrar object which
registers a class as an addable object. The registrar figures
out the name to put in the product add list by looking at the
'meta_type' of the class. Zope also deduces a permission based
on the class's meta-type, in this case *Add Polls* (Zope
automatically pluralizes "Poll" by adding an "s"). The
'constructors' argument is a tuple of objects consisting of two
functions: an add form which is called when a user selects the
object from the product add list, and the add method which is
the method called by the add form. Note that these functions are
protected by the constructor permission.
% Anonymous User - Oct. 9, 2002 5:12 am:
Zope automatically pluralizes by adding an "s"?! Wow, the road to i18n-ization is still long...